IInkCollector::put_hWnd method (msinkaut.h)
Gets or sets the handle value of the window on which ink is drawn.
This property is read/write.
Syntax
HRESULT put_hWnd(
LONG_PTR NewWindow
);
Parameters
NewWindow
Return value
None
Remarks
If two or more windows exist, this property allows you to specify which window collects ink.
Note The InkCollector object or the InkOverlay object must be disabled before setting this property. To disable the InkCollector or InkOverlay objects, set the Enabled property to FALSE. You can then set the hWnd property and re-enable the object by setting the Enabled property to TRUE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | msinkaut.h |
Library | InkObj.dll |