The attribute of the dialog is set to do not Title Bar. What should I do if I have an icon in the taskbar?

xiaoxiao2021-03-06  47

In a dialog-based application, the property of the dialog box is set to without Title Bar, and the generated program is not icon in the taskbar.

Add: in OnInitDialog ():

ModifyStyle (0, WS_SYSMENU);

SetwindowText ("MyTITE");

Yes.

转载请注明原文地址:https://www.9cbs.com/read-81347.html

New Post(0)