Re: Borderless Dialog as Child Window

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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


.



Relevant Pages

  • Re: Outlook Custom form - resize event handling
    ... Is Inspector represents the message window itself? ... hook on the form and will resize... ... I used standard Message template and added custom control on ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: WMP control resizing
    ... > getting the WMP9 activex control in a window and playing movies etc. ... when you want to resize the control in MFC, ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Resizing Motif/Xaw/Xlib apps vs. resizing GTK/Qt apps, and how to speed up an Xlib app
    ... experiencing difficulties with resize events. ... And the contents of my window are lagging up really badly because ... window system that wasn't based on X11, and I've worked with X11 for years. ... the application receives a ConfigureNotify due to step 4 and at some ...
    (comp.windows.x)
  • Re: Best way of finding terminal width/height?
    ... effect on readcalls that are pending on other things. ... if I do this instead (try to use keyboard to push stuff into stdin): ... line of text and then resize the window (one unterminated line ...
    (comp.lang.python)
  • Re: automatically zooming windows
    ... This would cause Word to resize the window ... > If I've been working on the document on the PowerBook and subsequently ... so either way I have to manually resize the window. ... > seems to zoom to what *would* be the size of the page if the Zoom ...
    (microsoft.public.mac.office.word)