AnnSetWnd method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnSetWnd(OLE_HANDLE hObject, OLE_HANDLE hWnd);

Overview:  Refer to Container Annotation Object.

Remarks

(Document/Medical only) Sets the window handle for all objects.

Set this property on the root container, and all objects in the container inherit the property.

The value of the AnnContainer property cannot be passed for the hObject parameter.

See Also

Elements:  AnnGetWnd method

Topics:  Annotations (Document/Medical only): Object Automation