The following lines were added (+) and removed (-):
First add the EventVB.dll to your project references. It is not included with Visual Studio. Microsoft VB .NET has a form_move event, but Visual BASIC 6 does not.Microsoft VB .NET has a form_move event, but Visual BASIC 6 does not. The Paint event won't detect a window being moved off the screen, but will get triggered when the window is moved back onto the screen.GotFocus/LostFocus Events are not triggered by the form.Your options are:== Subclassing using WM_WINDOWPOSCHANGED ==Subclassing can make the Visual Studio IDE unstable. The debugger does not work well when a new WindowProc is installed.== EventVB.dll Custom Functions ==First add the EventVB.dll to your project references. It is not included with Visual Studio.