Re: Borderless Dialog as Child Window
- From: "Peter Hellmann" <peter@xxxxxxxxxxxx>
- Date: Tue, 18 Dec 2007 10:55:58 +0100
Thanks so much for the hints!
cheers
Peter
"RainMan" <RainMan@xxxxxxxxxxxxx> schrieb im Newsbeitrag
news:3DE3C07A-4AE4-4380-824B-8D45FA612B7A@xxxxxxxxxxxxxxxx
Create dialog resource you need. Make sure to set WS_CHILD style and
without
border. You can check WS_EX_CLIENTEDGE.
After (or while) creation of the main window create modeless dialog and
pass
handle of the main window as a parent; set dialog's window ID.
Either resize main window to the size of dialog and do not use
WS_THICKFRMAME (disabled resizing), or resize dialog in WM_SIZE handler of
the main window.
Handle all dialog messages in dialog procedure you passed when dialog was
created.
--
RainMan
.
- References:
- Borderless Dialog as Child Window
- From: Peter Hellmann
- Re: Borderless Dialog as Child Window
- From: Christian Kaiser
- Re: Borderless Dialog as Child Window
- From: Peter Hellmann
- Re: Borderless Dialog as Child Window
- From: RainMan
- Borderless Dialog as Child Window
- Prev by Date: Re: Changing font of windows title text
- Next by Date: Re: Borderless Dialog as Child Window
- Previous by thread: Re: Borderless Dialog as Child Window
- Next by thread: Re: Borderless Dialog as Child Window
- Index(es):
Relevant Pages
|