Defines the type of a user-supplied drawing callback routine called by SftTabs/DLL, which paints the tab labels.
typedef void (CALLBACK* SFTTABS_DRAWTABPROC)(HWND hwnd, int iTab, SFTTABS_DWORD_PTR UserData, LPSFTTABS_DRAWINFO lpDrawInfo);
The window handle of the tab control.
The zero-based tab index of the tab label to be calculated or painted.
The iTab argument does not take hidden tabs into account, so it cannot be used when hidden tabs are present. The iRealTab member of the SFTTABS_DRAWINFO must be used instead.
An application specific value as supplied in the SFTTABS_DRAWPROCPARM structure.
A pointer to the SFTTABS_DRAWINFO structure, which contains painting information.
SFTTABS_DRAWTABPROC defines the type of a user-supplied drawing callback routine called by SftTabs/DLL, which paints the tab labels.
A drawing callback is defined using SetDrawTabCallback.
The callback function can retrieve tab control and tab settings, but no modifications should be made to the tab control in any way.