This reference page is linked to from the following overview
topics: Tabbed
Dialogs.
Detailed Description
- Description:
- This smart pointer is used to simplify scope management
#include <ITabDialog.h>
List of all
members.
Public Member Functions
|
|
TabDialogPointer
() |
|
TabDialogPointer
(ITabbedDialog
*dlg) |
|
TabDialogPointer
(TabDialogPointer &src) |
|
TabDialogPointer
(HWND parent, HINSTANCE instance, const MCHAR *dlg, ITabDialogProc *mainProc,
bool multiline, DWORD helpID=0, int tabID=-1, const Class_ID &dialogID=Class_ID(0, 0)) |
|
~TabDialogPointer
() |
TabDialogPointer
& |
operator=
(ITabbedDialog
*dlg) |
TabDialogPointer
& |
operator=
(TabDialogPointer &src) |
|
operator
ITabbedDialog * () |
ITabbedDialog
& |
operator*
() |
ITabbedDialog * |
get
() |
ITabbedDialog * |
release
() |
ITabbedDialog * |
operator->
() |
ITabbedDialog ** |
operator&
() |
bool |
Create
(HWND parent, HINSTANCE instance, const MCHAR *dlg, ITabDialogProc *mainProc,
bool multiline, int tabID=-1, DWORD helpID=0, const Class_ID &dialogID=Class_ID(0, 0)) |
Constructor & Destructor Documentation
: mpDlg(src.mpDlg) { src.mpDlg = NULL; }
: mpDlg(NULL)
{
ITabDialogManager* i = GetTabDialogManager();
if (i != NULL) {
mpDlg = i->CreateTabbedDialog(parent, instance, dlg, mainProc,
multiline, helpID, tabID, dialogID);
}
}
{ FreeDlg(); mpDlg = NULL; }
Member Function Documentation
{ FreeDlg(); mpDlg = dlg; return *this; }
{ FreeDlg(); mpDlg = src.mpDlg; src.mpDlg = NULL; return *this; }
bool Create |
( |
HWND |
parent, |
|
|
HINSTANCE |
instance, |
|
|
const MCHAR * |
dlg, |
|
|
ITabDialogProc * |
mainProc, |
|
|
bool |
multiline, |
|
|
int |
tabID = -1 , |
|
|
DWORD |
helpID = 0 , |
|
|
const Class_ID & |
dialogID = Class_ID(0,0) |
|
) |
|
[inline] |
{
ITabDialogManager* i = GetTabDialogManager();
if (i != NULL) {
ITabbedDialog* retVal = i->CreateTabbedDialog(parent, instance, dlg, mainProc,
multiline, helpID, tabID, dialogID);
if (retVal != NULL) {
FreeDlg();
mpDlg = retVal;
return true;
}
}
return false;
}
TabDialogPointer TabDialogPointer
TabDialogPointer TabDialogPointer TabDialogPointer TabDialogPointer
TabDialogPointer TabDialogPointer TabDialogPointer
TabDialogPointer
TabDialogPointer TabDialogPointer
TabDialogPointer TabDialogPointer TabDialogPointer TabDialogPointer
TabDialogPointer TabDialogPointer TabDialogPointer
TabDialogPointer