IInkCollector::get_Enabled method (msinkaut.h)
Gets or sets a value that specifies whether the InkCollector object collects pen input (in-air packets, cursor in range events, and so on).
This property is read/write.
HRESULT get_Enabled( VARIANT_BOOL *Collecting );
If an enabled object's window input rectangle (set in the constructor or with the SetWindowInputRectangle method) of an enabled object overlaps the window input rectangle of another enabled object, the E_INK_OVERLAPPING_INPUT_RECT error is returned. Overlap can occur without an error as long as only one of the input rectangles is enabled at any known time.
While an object is not enabled, you receive no events.
When a container control has its Enabled property set to FALSE, all of its contained controls are disabled as well.
You cannot set the Enabled property to FALSE while the object is collecting ink (CollectingInk property is TRUE).
We recommend that you set Enabled set to FALSE when the application shuts down.
|Minimum supported client||Windows XP Tablet PC Edition [desktop apps only]|
|Minimum supported server||None supported|