flat assembler
Message board for the users of flat assembler.
Index
> Windows > TOPMOST window behavior |
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. |
|||
01 Feb 2005, 00:13 |
|
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 |
|||
01 Feb 2005, 01:43 |
|
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. |
|||
01 Feb 2005, 06:33 |
|
msmith 01 Feb 2005, 17:07
How does the find dialog in common controls accomplish this behavior?
|
|||
01 Feb 2005, 17:07 |
|
msmith 03 Feb 2005, 03:51
WS_EX_APPWINDOW does the job nicely!
|
|||
03 Feb 2005, 03:51 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.