SetIcon

Return to Introduction  Previous page  Next page

Change the icon of a task. You can also use this method to an icon to use when the task is disabled.

 

 

Prototype:

SetIcon                 Procedure(<STRING IconName>, <STRING DisabledIcon>)

SetIcon                 Procedure(LONG HeaderID, LONG TaskID, <STRING IconName>, <STRING DisabledIcon>)

 

Arguments:

HeaderID

The unique ID of the header in wich the task resides

TaskID

The uniduq ID of the task you want info from

IconName

The name of the icon you want to change to (the icon must be linked into your project)

DisabledIcon

If you'd like to set an icon to use when the task is disabled, specify the name as this argument.

 

Example

OutlookBar5.SetIcon(,'MyDisabledIcon.ico')

 



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