|
|
|
LPFNSFTTREE_OWNERDRAWPROC |
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 | Categories | Notifications