I have a window without decorations (border and caption bar), only the client area. As a reaction on some user action (say, double click) I want to switch into move window mode. I tried PostMessage( WM_SYSCOMMAND, SC_MOVE, 0 ) and it works: cursor changes and the frame appears, but the window is not moved when I drag it.
I have found that it is by design: even if the window has a caption bar, it can be dragged only by the caption bar (you may try it on any window).
Does anybody how to change this and allow dragging from the client area?