Share via


Displaying the Pen Input Panel

Displaying the Pen Input Panel

Overview of displaying the input panel.

The order of the various focus events for a control is as follows:

There is no guarantee that the control actually has focus by the time the Control.Visible Leave Site property is written when it is set in the Control.Enter Leave Site event handler. The Control.Enter Leave Site event is the best place to attach the PenInputPanel object to a control, but the Control.GotFocus Leave Site event is the best place to change the PenInputPanel.Visible property.