SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines a drawing callback routine used to paint tab labels.
C
BOOL WINAPI SftTabs_SetDrawTabCallback(HWND hwndCtl, LPSFTTABS_DRAWPROCPARM lpDrawProcParm);
C++
BOOL CSftTabs::SetDrawTabCallback(LPSFTTABS_DRAWPROCPARM lpDrawProcParm = NULL);
hwndCtl
The window handle of the tab control.
lpDrawProcParm
A pointer to a SFTTABS_DRAWPROCPARM structure containing the parameters for this function to register a drawing callback function and user supplied data. This parameter may be NULL to stop using the callback function. The SFTTABS_DRAWPROCPARM structure contains the following members:
SFTTABS_DRAWTABPROC lpfnDrawProc | A pointer to a drawing callback routine which calculates the tab label size and paints tab labels. |
SFTTABS_DWORD_PTR UserData | An application specific value. This value is passed to the drawing callback (SFTTABS_DRAWTABPROC) as the UserData parameter. |
The return value is TRUE if the function was successful, otherwise FALSE is returned.
Defines a drawing callback routine used to paint tab labels.
The callback function uses the information passed in the SFTTABS_DRAWINFO structure to calculate or paint tab labels.
See Also C/C++ API | C++ Classes | Notifications