ViewCtl - KeyStroke event

  • Thread starter Hans-Christian Francke
  • 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
 
S

Sue Mosher [MVP]

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
 
H

Hans-Christian Francke

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
 
S

Sue Mosher [MVP]

WithEvents won't help, since it doesn't fire such an event. Subclassing might be a possibility for adding your own events.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top