drag/move a line !

  • Thread starter Thread starter Michael Zol
  • Start date Start date
M

Michael Zol

Guest
How can I drag/move a line?

I have created the line but I don’t know how to select and move this by mouse!

Thank so much for help to me,

---------------------------------

case WM_PAINT:

{

PAINTSTRUCT ps;

HDC hdc = BeginPaint(hWnd, &ps);

MoveToEx (hdc, x, y, NULL);

LineTo (hdc, x, 0);

EndPaint(hWnd, &ps);

}



Continue reading...
 
Back
Top