SftTree/DLL 6.5

LPFNSFTTREE_OWNERDRAWPROC

Softel vdm, Inc.

Defines the type of an application-supplied owner-draw function, which is called whenever an object needs to be rendered.

typedef BOOL (CALLBACK* LPFNSFTTREE_OWNERDRAWPROC)(
        HWND hwnd,
        LPSFTTREE_OWNERDRAW lpInfo,
        SFTTREE_DWORD_PTR UserData);

Parameters

hwnd

The window handle of the tree control.

lpInfo

A pointer to the SFTTREE_OWNERDRAW structure describing the action required and the object to render.

UserData

An application-specific value, as supplied in the SFTTREE_OWNERDRAWPARM structure.

Returns

The return value is TRUE if the owner-draw callback was successful, FALSE otherwise.

Comments

LPFNSFTTREE_OWNERDRAWPROC defines the type of an application-supplied owner-draw function, which is called whenever an object needs to be rendered.

An owner-draw function cannot modify the tree control attributes in any way.

See Also  C/C++ API  |  CategoriesNotifications

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com