|
-
September 10th, 1999, 12:30 PM
#1
Modeless dialog overdrawing all windows
Hi, I recently converted a modal dialog to a modeless one. It works fine but always seems to be on top of any other windows no matter if it is active or not. In fact it even appears on the screen when it is inactive and another window is maximized. I believe was due to it having the WS_OVERLAPPED style.
In order to stop this I have tried to set its style to WS_CHILD, but this seems to stop it from working at all. The contents of the dialog are displayed but do not respond to any events. If another window is dragged over it or maximized the dialog is painted over and disappears.
There has to be a simple way to have a modeless dialog that does not stick on top of everything else. Unfortunately as my dialog was derived from a modal one I cannot see anyway other than to totally rewrite the entire creation and message handling code.
Please help, thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|