*** RESOLVED *** MDI Form blanks out !!
I have the following code in the Unload event of my MDI Master form :
VB Code:
Private Sub MDIForm_Unload(Cancel As Integer)
Quit = MsgBox("Are you sure you want to Quit ?", vbYesNo, "Confirm Quit")
If Quit = vbYes Then
Screen.MousePointer = vbHourglass
RecordTimeOff
Screen.MousePointer = vbNormal
HtmlHelp Me.hwnd, "", HH_CLOSE_ALL, ""
End
Else
Cancel = True
Exit Sub
End If
End Sub
The problem I have is that before I get the Msgbox on screen, my MDI form is blanked so all I see is a white background !!
Really handy if the user says no !!!!
Any ideas anyone ?