OlkCategoryEvents_Event.KeyPress Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the user presses an ANSI key.
public:
event Microsoft::Office::Interop::Outlook::OlkCategoryEvents_KeyPressEventHandler ^ KeyPress;
event Microsoft.Office.Interop.Outlook.OlkCategoryEvents_KeyPressEventHandler KeyPress;
Event KeyPress As OlkCategoryEvents_KeyPressEventHandler
Event Type
Remarks
An ANSI key is one that produces a typeable character when the user presses it. The KeyPress event occurs when the user presses an ANSI key on a running form while the form or a control on it has the focus. The event can occur either before or after the key is released.
A KeyPress event does not occur under the following conditions: