TXTextControl.ObjectGethWnd Event

Occurs when a document which contains objects, is loaded. This event is sent only for objects that have been inserted via its hWnd property. The application must create the object and copy the object's hWnd property to the hWnd parameter.

Syntax

ObjectGethWnd(ObjectId, KindOfObject, hWnd)
Parameter Description
ObjectId

Is the identifier of the object that is to be created.

KindOfObject

Is the value that has been specified as KindOfObject parameter for the ObjectInsertAsChar, ObjectInsert or ObjectInsertFixed method.

hWnd

The hWnd property of the new created object must be copied to this variable.

Data Types

ObjectId:    Integer
KindOfObject:    Integer
hWnd:    Handle

See Also