CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2000
    Location
    Tallahassee, FL
    Posts
    121

    Capture Minimize Event

    Is there a simple way to capture when the user clicks the minimize button for a VB form. I need to add some code to do something when the user clicks the Minimize button.

    Thanks,
    Jeff


  2. #2
    Join Date
    May 2001
    Location
    domodossola,italy
    Posts
    10

    Re: Capture Minimize Event

    'This will intercept the minimizing event of the form.

    private sub Form_resize()
    If me.windowstate= vbminimized then
    '....
    end if
    end sub





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

Featured