G
Guest
I want to move and resize a window without border. I solved the problem of
moving thanks to internet search by using
ReleaseCapture();
SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0);
In the Mouse_Down event handler.
Is there a similar way to size the window? Just replacing HT_CAPTION with
HT_BORDER_LEFT or one of the other HT_BORDER_... commands doesn’t seem to
work.
Chris
moving thanks to internet search by using
ReleaseCapture();
SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0);
In the Mouse_Down event handler.
Is there a similar way to size the window? Just replacing HT_CAPTION with
HT_BORDER_LEFT or one of the other HT_BORDER_... commands doesn’t seem to
work.
Chris