VpeGetUDOlParam

<< Click to Display Table of Contents >>

Navigation:  UDO - User Defined Objects >

VpeGetUDOlParam

Previous pageReturn to chapter overviewNext page

[Windows platform only, Professional Edition and above]

Returns the long integer value lParam from a UDO.

int VpeGetUDOlParam(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle or VPE Object Handle

Returns:

the ID of the UDO that needs to be drawn

Remarks:

Only in case you specify a VPE Document handle: this property is only accessible while your application is processing the event VPE_UDO_PAINT. The value returned should be used to identify the object which needs to be drawn. Calling this function while not processing the event will return invalid - and therefore useless - data.

Example:

see VpeGetUDODC