Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

SFTTABS_DRAWTABPROC Type Definition

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);

Parameters

hwnd

The window handle of the tab control.

iTab

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.

UserData

An application specific value as supplied in the SFTTABS_DRAWPROCPARM structure.

lpDrawInfo

A pointer to the SFTTABS_DRAWINFO structure, which contains painting information.

Comments

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.

See Also C/C++ API | C++ Classes | Notifications


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.