News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Flat dialog sizing

Started by ragdog, February 12, 2013, 07:34:50 PM

Previous topic - Next topic

ragdog

Thanks for your reply here  8)

Hey dave

I use as main dialog WS_POPUP and WS_EX_TOPMOST
the Panel have i xstyle 94000000 and xExStyle 0

Ok i look in Qwords example in think this is it

dedndave

then - you have no non-client area   :P

ragdog

Why non-client area?

This xmPlayer

Use as Main window in forground and the panel in background
and the panel docking on the Main window by minimize it decrement the X coordinate from panel

And the panel is now in the background from Main Window

dedndave

well - if you use the WS_POPUP style and not WS_DLGFRAME, WS_THICKFRAME, WS_BORDER, WS_CAPTION styles...
then you have no border - so the outer-most pixels of the window lie in the client area

this means that WM_LBUTTONDOWN, WM_LBUTTONUP, and WM_MOUSEMOVE should work