CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 1998
    Posts
    2

    How to make Popup Menus hotkeys



    Can some one show me how to make popup menus respond to hotkeys? The popup menus I create can only respond to mouse click.

  2. #2
    Join Date
    Apr 1999
    Location
    Rotterdam, Netherlands
    Posts
    278

    Re: How to make Popup Menus hotkeys



    That's the behaviour of popupmenuus...

    What you can do is set the keypreview property of the form to true, and use the keydown/keypress event of the form to respond to the 'hotkeys' you want.

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