IInkPicture::get_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 get_hWnd(
  LONG_PTR *CurrentWindow
);

Parameters

CurrentWindow

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 VARIANT_FALSE. You can then set the hWnd property and re-enable the object by setting the Enabled property to VARIANT_TRUE.
 
In Automation, this property is called hWnd Property.

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

See also

Enabled Property

IInkPicture

InkDisp Class

InkPicture Control