We know that if I want to move a window I must put the mouse on the Title Bar and drag it.
How can I Move the Window putting the mouse on the Client erea and drag? (My program is without Title Bar).
We know that if I want to move a window I must put the mouse on the Title Bar and drag it.
How can I Move the Window putting the mouse on the Client erea and drag? (My program is without Title Bar).
MoveWindow()? Just a thought...not like it's blatantly obvious or anything
Oh...and as for the rest of the question, check for WM_LBUTTONDOWN, and follow the mouse coordinates (there are many ways of doing this, try a search for them), then using MoveWindow until the person lets go of the mouse button (ie, until you recieve WM_LBUTTONUP)