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
Used as a parameter for SetDrawTabCallback to define an application-specific drawing callback routine, which paints the tab labels.
typedef struct tagTabsDrawProcParm { SFTTABS_DRAWTABPROC lpfnDrawProc; /* User supplied drawing callback routine */ SFTTABS_DWORD_PTR UserData; /* User supplied data */ } SFTTABS_DRAWPROCPARM, * LPSFTTABS_DRAWPROCPARM;
A pointer to a drawing callback routine of type SFTTABS_DRAWTABPROC, which calculates the tab label size and paints tab labels.
An application specific value. This value is passed to the drawing callback (SFTTABS_DRAWTABPROC) as the UserData parameter.
The SFTTABS_DRAWPROCPARM structure is used as a parameter for SetDrawTabCallback to define an application-specific drawing callback routine, which paints the tab labels.
C++
// Register a drawing callback { SFTTABS_DRAWPROCPARM Parm = { CSampleDlg::DrawOneTabCallback, (SFTTABS_DWORD_PTR)(LPVOID)this // Pass this to callback as UserData }; m_Tab.SetDrawTabCallback(&Parm); }
See Also C/C++ API | C++ Classes | Notifications