Jenios
asked on
how remove title bar of modal dialog
hi, i like hide and show the title bar of a dialog box.
i use ModifyStyle(WS_CAPTION|WS_ SYSMENU|WS _BORDER,0)
ShowWindow(SW_HIDE);
ShowWindow(SW_SHOW);
the system menu hide but te title bar not, why???
i use ModifyStyle(WS_CAPTION|WS_
ShowWindow(SW_HIDE);
ShowWindow(SW_SHOW);
the system menu hide but te title bar not, why???
The easiest way is to edit the dialog with the resource editor
Using the resource editor (the little tree tab between the classes and the files tab) select the dialog to edit it. Place the cursor on the dialog and right click once then select properties. On the Properties dialog ,use the Styles tab, then uncheck the Title box. You will see the title bar disappear instantly. Recompile and your on your way. Let me know if you need more help...
ASKER
i know this, the idea is hide or show in execution, p.e i doubleclick on dialog background and title bar hide, on new doubleclick and title bar show.
excuse me my poor english
thanks
excuse me my poor english
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.