Try to add code marked below
LPARAMETERS nButton, nShift, nXCoord, nYCoord
#DEFINE WM_SYSCOMMAND 0x112
#DEFINE WM_LBUTTONUP 0x202
#DEFINE MOUSE_MOVE 0xf012
IF nButton = 1 AND _Screen.WindowState # 2
ReleaseCapture()
SendMessage(_VFP.HWnd, WM_SYSCOMMAND, MOUSE_MOVE, 0x0)
SendMessage(_VFP.HWnd, WM_LBUTTONUP, 0x0, 0x0)
ENDIF
>
>I have encounted an issue with this.
>
>I am able to drag the application around (when _Screen.WindowState = Normal), but after I do, the mouse events of all the controls in this GUI class no longer respond until I click down again.
>
>Here's what I mean. All of the controls on
this UI have hover effects. In this shot, the mouse is over the orange button.
>
>In
this image, I am dragging the app around.
>
>Next, as seen in
this image, I am hovering again over the orange button, except that it's not orange because the MouseEnter didn't fire.
>
--sb--