Ah... WBK, its the "WindowFromPoint" call I hadnt spotted... that might be very helpful. I`ll have a play tonight.... if you just see a large
WOOHOO later, you know its working
Quote:
|
Originally Posted by Wild.Bill.Kelso
Code:
SetCapture Me.hWnd
GetCursorPos Pt
mWnd = WindowFromPoint(Pt.x, Pt.y)
If Button = 1 Then
'BEGIN DRAG:
Call ReleaseCapture
lngReturnValue = SendMessage(mWnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&)
ReleaseCapture
SetCapture Me.hWnd
...
|