InkPicture Control Events |
The following table describes which threads the InkPicture control events can fire on.
| Event | Threads |
|---|---|
ChangeUICues (Managed Library only) |
Fires on the application's user interface (UI) thread |
| ChangeUICues (Automation only) | Deprecated, never fires |
Click ![]() |
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 (Automation only) |
Fires on the application's UI thread.
This event method is defined in the _IInkPictureEvents interface. The _IInkPictureEvents interface implements the IDispatch |
DoubleClick (Managed Library only) |
Fires on the application's UI thread |
DragDrop ![]() |
Fires on the application's UI thread |
DragOver ![]() |
Fires on the application's UI thread |
| Gesture | Fires on the ink thread |
GotFocus ![]() |
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 ![]() |
Fires on the application's UI thread |
MouseDown ![]() |
Fires on the application's UI thread |
MouseEnter ![]() |
Fires on the application's UI thread |
MouseHover ![]() |
Fires on the application's UI thread |
MouseLeave ![]() |
Fires on the application's UI thread |
MouseMove ![]() |
Fires on the application's UI thread |
MouseUp ![]() |
Fires on the application's UI thread |
MouseWheel ![]() |
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 ![]() |
Fires on the application's UI thread or on the thread which calls the InkPicture control's Resize 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 ![]() |
Fires on the application's UI thread |
SizeModeChanged ![]() |
Fires on the application's UI thread or on the thread which updates the InkPicture control's SizeMode property |
| Stroke | Fires on the ink thread |
| StrokesDeleted | Fires on the ink thread |
| StrokesDeleting | Fires on the ink thread |
StyleChanged (Managed Library only) |
Fires on the application's UI thread |
| StyleChanged (Automation only) | Deprecated, never fires |
SystemColorsChanged ![]() |
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 (Managed Library only) |
Fires on the application's UI thread |
Validating (Managed Library only) |
Fires on the application's UI thread |
(Managed Library only)