Dialog windows
-
I have a small dialog window that is a child of my parent dialog. It has the topmost window style set so I can be doing things in other windows and have my small child window of my app still visible on top of everything. When I click on the title bar to move it around the screen, upon releasing the mouse button, the parent dialog box pops up to right under the child dialog. This isn't the behaviour I'm desiring (I'd like to be able to move the child window around without seeing the parent, but I'm not sure how to get around it, or what to do. Any ideas? Also, i'm taking a plain dialog resource for it (no controls), and in my OnPaint function for that dialog, calling GetClientRect() and drawing right to that rect. Is this wise? - Jason (SonorkID 100.611) The Code Project - Orange makes the art grow fonder
-
I have a small dialog window that is a child of my parent dialog. It has the topmost window style set so I can be doing things in other windows and have my small child window of my app still visible on top of everything. When I click on the title bar to move it around the screen, upon releasing the mouse button, the parent dialog box pops up to right under the child dialog. This isn't the behaviour I'm desiring (I'd like to be able to move the child window around without seeing the parent, but I'm not sure how to get around it, or what to do. Any ideas? Also, i'm taking a plain dialog resource for it (no controls), and in my OnPaint function for that dialog, calling GetClientRect() and drawing right to that rect. Is this wise? - Jason (SonorkID 100.611) The Code Project - Orange makes the art grow fonder