Archived

This topic is now archived and is closed to further replies.

DialogBox causing headache! :)

This topic is 5129 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I have a minor situation, I have a Dialog box made in the resource editor, and the window is created and displayed but it is SEETHROUGH (and caption etc is missing). Yes I do have all the styles included, WS_VISIBLE, WS_CAPTION, etc. The window seems like it is "drawing" incorrectly, this is the first time it has happened. If anyone could lend a hand I would appreciate it. Thanx in advance! hwndDlg = CreateDialog(hInstance, MAKEINTRESOURCE(114), hwnd, AboutDlgProc); Here is the code straight from the rc script file AboutDlg DIALOGEX 0, 0, 186, 122 STYLE DS_SETFONT | DS_3DLOOK | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU CAPTION "Test Caption" FONT 8, "MS Sans Serif" BEGIN PUSHBUTTON "OK",ID_OK,118,15,50,14 END

Share this post


Link to post
Share on other sites