Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

Chris Mancini

@Chris Mancini
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Capturing F10
    C Chris Mancini

    I am writing an application for a customer and they have selected that F10 and it's variations (Ctl, Alt, Shift) bring up different windows. Now I know that F10 is a System key used for Menu's and such, but I have tried WM_SYSCOMMAND and WM_SYSKEYDOWN to no avail. Here is my code for OnSysCommand: void CMyDialog::OnSysCommand(UINT nID, LPARAM lParam) { if (nID == SC_KEYMENU) { UINT nKey = VK_F10; OnFunctionKey(&nKey); } else { CDialog::OnSysCommand(nID, lParam); } } This works fine...but it works whether the user presses F10 or just Alt, which I don't want. So the basic question is "Has anybody used F10 for something other than a menu initializer?" Thanks Chris Mancini

    C / C++ / MFC question sales
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups