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

    Function Keys and Virtual Codes

    I am trying to map individual commands to each of the Function Keys (F1-F12) and so far I have had no problem. However, I have run into a small roadblock. F10 seems to be reserved by Windows in order to access the menu bar (a la Alt - File Edit View, etc...). What I need to know is how do you over ride the default command and use F10 for something else?

    I am using the OnKeyDown function, but it won't recognize the F10 key.

    Thanks to anyone who can help me with this problem.

    --Starhawk


  2. #2
    Join Date
    May 1999
    Posts
    82

    Re: Function Keys and Virtual Codes

    You need to override OnSysKeyDown() to get access to the F10 key.


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