Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

CSftTabsDialog

Standard constructor.

C++

public:
     CSftTabsDialog::CSftTabsDialog(UINT IDD, CWnd* pParent = NULL);
     CSftTabsDialog::CSftTabsDialog(LPCTSTR lpszTemplate, CWnd* pParent = NULL);
protected:
     CSftTabsDialog::CSftTabsDialog();

Parameters

IDD

ID of the dialog resource used to create the dialog.

lpszTemplate

A null-terminated string containing the name of the dialog resource used to create the dialog.

pParent

A pointer to the parent window's CWnd based object. This parameter may be NULL if the tabbed dialog doesn't have a parent window.

Comments

A tabbed dialog is created in two steps. First, call the constructor CSftTabsDialog, then use DoModal to create a modal dialog or call Create to create a modeless tabbed dialog. Override the OnInitDialog member function to initialize the tab control and associate CSftTabsPage objects to tabs.

Example

This example invokes a modal tabbed dialog:

CMainDlg MainDlg; // tabbed dialog
MainDlg.DoModal();

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


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