CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2011
    Posts
    58

    What events are available?

    In VS 2010 Express, after I add a control to a form, I can double-click it and it will take me to the event handler stub for the default action. But don't some controls have more than one event? What about the form itself, such as minimize, restore, close, move etc? How do I auto-generate those handlers and where is the menu of choices?

  2. #2
    Join Date
    Jan 2010
    Posts
    1,133

    Re: What events are available?

    When you select a control (or the entire form), you get it's properties listed in the Properties Window.

    On it, there is a button, labeled with a yellow flash/thunderbolt, similar to this - only prettier .
    Click that, and it will list all the available events.
    Last edited by TheGreatCthulhu; July 6th, 2011 at 12:07 PM.

  3. #3
    Join Date
    Jan 2010
    Posts
    1,133

    Re: What events are available?

    Here - see it?

  4. #4
    Join Date
    Apr 2011
    Posts
    58

    Re: What events are available?

    Ahh.. perfect! Thank you so much

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