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.


ObjectGethWnd(ObjectId, KindOfObject, hWnd)
Parameter Description

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


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


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

Data Types

ObjectId:    Integer
KindOfObject:    Integer
hWnd:    Handle

See Also