Re: [x11drv] Fix X11DRV_set_wm_hints
"Maxime Bellengé" <maxime.bellenge(a)wanadoo.fr> wrote:
This patch adds MWM_FUNC_MOVE | MWM_FUNC_RESIZE when WS_EX_APPWINDOW. Now the windows are movable.
I think that MWM_FUNC_RESIZE should be added only for windows with WS_THICKFRAME style set. -- Dmitry.
I don't agree with you because, if the application don't call this with the HTCAPTION parameter PostMessage( WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM( point.x, point.y)); but with HTLEFT, HTRIGHT ... the WM must resize the window I think. I wondered first if MWM_FUNC_RESIZE should be added but I think it is correct. Maxime On Sun, 2005-03-06 at 18:55 +0800, Dmitry Timoshkov wrote:
"Maxime Bellengé" <maxime.bellenge(a)wanadoo.fr> wrote:
This patch adds MWM_FUNC_MOVE | MWM_FUNC_RESIZE when WS_EX_APPWINDOW. Now the windows are movable.
I think that MWM_FUNC_RESIZE should be added only for windows with WS_THICKFRAME style set.
-- Dmitry.
-- Maxime Bellengé <maxime.bellenge(a)wanadoo.fr>
"Maxime Bellengé" <maxime.bellenge(a)wanadoo.fr> wrote:
I don't agree with you because, if the application don't call this with the HTCAPTION parameter
PostMessage( WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM( point.x, point.y));
but with HTLEFT, HTRIGHT ... the WM must resize the window I think.
I wondered first if MWM_FUNC_RESIZE should be added but I think it is correct.
If WS_THICKFRAME style is not set, then a window is not supposed to be resized by WM, that's the point. SetWindowPos still will be able to resize a window. -- Dmitry.
participants (2)
-
Dmitry Timoshkov -
Maxime Bellengé