SC_DragMove

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
emarti
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 210
Joined: Sat May 07, 2005 8:24 pm
Location: Eskisehir, TURKEY
Contact:

SC_DragMove

Post by emarti »

Hi,
I want to move form (without caption) with mousedown (leftdown) event.

Code: Select all

void Project1Frm::Project1FrmLeftDown(wxMouseEvent& event)
{
	// insert your code here
ReleaseCapture();
HandleCommand(WM_SYSCOMMAND, SC_MOVE, 0);
	event.Skip();
}
Not working! What is wrong?

Regards.
Post Reply