Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help: Accelarators & Property Sheets

Status
Not open for further replies.

SpenBabe

Programmer
Sep 25, 2000
70
GB
I have with accelarator keys attached to menu items that work with a SDI app with multiple views.

One particular view has a modeless CPropertySheet on it & when this the active view & the sheet is enabled & has focus the accelarator keys don't work.

How do I detect the keys & pass them to CMainFrame? I know it involves PreTranslateMessage, but I can't seem to find the right stuff in MSDN!!

Thanks in advance Spencer Window (not a joke name)
spencer.window@eastmidlandcomputers.ltd.uk
 
As far as I know only the active window can get keyboard messages. I've worked on this sort of thing before but I never really got anywhere with it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top