Freigeben über


InkPicture Control Events

InkPicture Control Events

The following table describes which threads the InkPicture control events can fire on.

Event Threads
ChangeUICues Leave Site (Managed Library only) Fires on the application's user interface (UI) thread
ChangeUICues (Automation only) Deprecated, never fires
Click Leave Site Fires on the application's UI thread
CursorButtonDown Fires on the ink thread
CursorButtonUp Fires on the ink thread
CursorDown Fires on the ink thread
CursorInRange Fires on the ink thread
CursorOutOfRange Fires on the ink thread
DblClick Leave Site (Automation only) Fires on the application's UI thread.

This event method is defined in the _IInkPictureEvents interface. The _IInkPictureEvents interface implements the IDispatch Leave Site interface with an identifier of DISPID_IPEDblClick.

DoubleClick Leave Site (Managed Library only) Fires on the application's UI thread
DragDrop Leave Site Fires on the application's UI thread
DragOver Leave Site Fires on the application's UI thread
Gesture Fires on the ink thread
GotFocus Leave Site Fires on the application's UI thread
KeyDown (Automation only) Fires on the application's UI thread
KeyPress (Automation only) Fires on the application's UI thread
KeyUp (Automation only) Fires on the application's UI thread
LostFocus Leave Site Fires on the application's UI thread
MouseDown Leave Site Fires on the application's UI thread
MouseEnter Leave Site Fires on the application's UI thread
MouseHover Leave Site Fires on the application's UI thread
MouseLeave Leave Site Fires on the application's UI thread
MouseMove Leave Site Fires on the application's UI thread
MouseUp Leave Site Fires on the application's UI thread
MouseWheel Leave Site Fires on the application's UI thread
NewInAirPackets Fires on the ink thread
NewPackets Fires on the ink thread
Painted Fires on the application's UI thread
Painting Fires on the application's UI thread
Resize Leave Site Fires on the application's UI thread or on the thread which calls the InkPicture control's Resize Leave Site method
SelectionChanged Fires on the ink thread or on the thread which updates the InkPicture control's Selection property
SelectionChanging Fires on the ink thread
SelectionMoved Fires on the ink thread
SelectionMoving Fires on the ink thread
SelectionResized Fires on the ink thread
SelectionResizing Fires on the ink thread
SizeChanged Leave Site Fires on the application's UI thread
SizeModeChanged Leave Site Fires on the application's UI thread or on the thread which updates the InkPicture control's SizeMode Leave Site property
Stroke Fires on the ink thread
StrokesDeleted Fires on the ink thread
StrokesDeleting Fires on the ink thread
StyleChanged Leave Site (Managed Library only) Fires on the application's UI thread
StyleChanged (Automation only) Deprecated, never fires
SystemColorsChanged Leave Site Fires on the application's UI thread
SystemGesture Fires on the ink thread
TabletAdded Fires on the ink thread
TabletRemoved Fires on the ink thread
Validate (Automation only) Fires on the application's UI thread
Validated Leave Site (Managed Library only) Fires on the application's UI thread
Validating Leave Site (Managed Library only) Fires on the application's UI thread