flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 01 Feb 2005, 00:13
Every window stays always above it's owner window. You don't need to make it topmost.
Regards. |
|||
![]() |
|
msmith 01 Feb 2005, 01:43
John,
If I don't make the window topmost, I disappears if I click anything outside the window (such as the RAEdit control it sits over). I want my window to behave like the find dialog that comes with common controls. Mike |
|||
![]() |
|
JohnFound 01 Feb 2005, 06:33
msmith wrote: John, Wrong. Visibly you didn't set proper owner window for your "find" dialog. When you create the window you must set his owner window - i.e. the window on top of what the dialog will stay... Read carefully description of CreateWindowEx. (Note: parent window and owner window is not the same! Owner window can be set only once when the control is being created.) Regards. |
|||
![]() |
|
msmith 01 Feb 2005, 17:07
How does the find dialog in common controls accomplish this behavior?
|
|||
![]() |
|
msmith 03 Feb 2005, 03:51
WS_EX_APPWINDOW does the job nicely!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.