NO

Author Topic: How can I user a modifier key to process say... Alt-a for example  (Read 2822 times)

tpekar

  • Guest
MSDN talks about using a modifier key to process key combinations.  I was wondering if anyone can show me how to do this in Pelles C. (Ctrl-a, Alt-a, etc.).

CommonTater

  • Guest
Re: How can I user a modifier key to process say... Alt-a for example
« Reply #1 on: July 15, 2011, 09:55:49 PM »
ALT is used internally by windows for it's menu system and is generally processed by the IsDialogMessage() function in your message dispatcher loop.

Ctrl+  is available to the user to use through accelerator tables.

When creating an accelerator table just add the modifier to the accelerator...

The forger's tutorial talks about these and other windows resources.  This is a needed skill.  Not everything that happens in windows happens in C code.





« Last Edit: July 15, 2011, 10:07:02 PM by CommonTater »