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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aplication Wide Hotkeys

Status
Not open for further replies.

Cogz

Programmer
Joined
Jan 16, 2003
Messages
7
Location
CA
I have a MDI form with multiple sub forms.

When ever the MDI form has focus and an arrow key is pressed, I want procedure x to be called. Does something like an application wide KeyDown event exist?
 
How about subclassing all MID sub forms from a common ancestor which implements the hot key?
 
Use the "OnShortcut" event of the MDI parent form.
 
Tnx TimSNL

It works perfectly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top