Results 1 to 6 of 6

Thread: *** RESOLVED *** MDI Form blanks out !!

Threaded View

  1. #1

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Exclamation *** RESOLVED *** MDI Form blanks out !!

    I have the following code in the Unload event of my MDI Master form :

    VB Code:
    1. Private Sub MDIForm_Unload(Cancel As Integer)
    2.  
    3.     Quit = MsgBox("Are you sure you want to Quit ?", vbYesNo, "Confirm Quit")
    4.     If Quit = vbYes Then
    5.         Screen.MousePointer = vbHourglass
    6.         RecordTimeOff
    7.         Screen.MousePointer = vbNormal
    8.         HtmlHelp Me.hwnd, "", HH_CLOSE_ALL, ""
    9.         End
    10.     Else
    11.         Cancel = True
    12.         Exit Sub
    13.     End If
    14.  
    15. 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 ?
    Last edited by TheBionicOrange; Feb 28th, 2002 at 11:37 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width