Anyone know what window style causes this behavior of a Main App Dialog Box....

The Menu seems like its sunken into the dialog. I have built apps in the past where the menu is flush with the rest of the dialog but in this App it is sunken. I thought it may be WS_EX_CLIENTEDGE, but its not that - I tried removing it from the style and it changed nothing

anyone got an idea?

thanx
Posted on 2002-01-11 19:05:58 by Rockinronstar
probably the WS_EX_STATICEDGE.
Posted on 2002-01-11 19:23:33 by stryker
i don't have it set myself. Do you know what styles are set to a Dialog by Default?

thanx
Posted on 2002-01-11 21:13:23 by Rockinronstar
Using Visual C++ 6.0:

IDD_PROPPAGE_SMALL DIALOG DISCARDABLE 0, 0, 195, 127
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Property Page"
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "TODO: layout property page",IDC_STATIC,53,59,90,8
END

You could let us download it so we can see the actual source code of the .rc file if you want to.
Posted on 2002-01-11 22:17:34 by stryker