SetTaskUserData

Return to Introduction  Previous page  Next page

Sets the userdata of a task. Userdata is a ULONG variable stored with each task. In this variable you can store whatever value you'd like. For instace an ID of which procedure that should be started (in case of a enduser-defiend dynamic menu), or maybe a reference address of an object or group.

 

 

Prototype:

SetTaskUserData(LONG HeaderID, LONG TaskID, ULONG UserData)

 

 

Arguments:

HeaderID

The unique ID of the task's parent header

TaskID

The unique ID of the task you want change

UserData

Any ulong value

 

See also:

GetTaskUserData

 



Direct link to this page on our website: http://www.icetips.com/manuals/xptaskpanel/settaskuserdata.htm