ViewCtl - KeyStroke event

  • Thread starter Thread starter Hans-Christian Francke
  • Start date Start date
H

Hans-Christian Francke

I use a Outlook ViewCtl in a Form in a VBA project in Outlook 2002.
I try to capture any key events like keydown, keyup, keypress - but there
seams to be no corresponding events.

Thank for any help.

Kindest regards
HC Francke
 
The OVC doesn't support key events, AFAIK.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Thanks I thought of subclassing the ctl or load it WithEvents, but haven't
succeeded.
Any idea about this?

"Sue Mosher [MVP]" <[email protected]> skrev i melding
The OVC doesn't support key events, AFAIK.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
WithEvents won't help, since it doesn't fire such an event. Subclassing might be a possibility for adding your own events.
 
Back
Top