Use the function GetPartHandle to access the handle of a subpart in a specified object. The handle is later used to refer to the subpart faster than by its name.
|ZS_DECL LPARAM ZSAPI GetPartHandle(
- [in] Handle to object.
- [in] Specifies the subpart name. NULL specifies the objects in nID.
Handle to part.
Parts can be referred by their name or handle. Referring to a part with its name performs a lookup operation, while referring with the handle gives direct access to the part. To get the handle for an object, enter NULL in zsName.
See also: zsMovePart, zsMovePartByID