Link to home
Start Free TrialLog in
Avatar of mgonyea
mgonyeaFlag for Canada

asked on

Hot keys in MSVC++6.0

Ok.  I's using MSVC++6 and I have developed a dialog based application (via AppWizard).  On one of my dialogs, I want to enable it so that I can press F6, and it will perform and action (e.g. popup another dialog, save registry settings, etc.)  How do I do this?  Thanks!
ASKER CERTIFIED SOLUTION
Avatar of SteveGTR
SteveGTR
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mgonyea

ASKER

Where is the PreTranslateMessage function?  Is there a WM_<EVENT> associated with it?

Thanks
Avatar of mgonyea

ASKER

Oh I got it!  Sorry about that.  Wasn't thinking...probably too much drug and alcohol abuse or something... ;-)

Thanks again!
Avatar of ioni87
ioni87

Hey, ummm im trying to do something simular, but with the scroll lock key, and numbers combination. Using visual .net

I have a dialog box with two buttons, when i click the left one, its supposed to perform the key combo ect... but i must use the scroll lock key, and it doesnt have an ascii code or anything :(

If you could help at all, that would be great.
Open up a new question... no biggy-backing :)