This reference page is linked to from the following overview
topics: Tabbed
Dialogs.
Detailed Description
- See also:
- Class ITabbedDialog
- Description
- This interface is implemented by the code that wants to use the
tab dialog. The implementer can choose whether to respond to the
methods or to messages
#include <ITabDialog.h>
List of all
members.
Constructor & Destructor Documentation
Member Function Documentation
Set the dialog we are handling messages for.
- Parameters:
-
dlg |
Our new tabbed dialog |
Get the dialog we are handling messages for.
- Returns:
- the current dialog
virtual void DeleteThis |
( |
|
) |
[inline, virtual] |
Delete this dialog proc.
This method does nothing, because most dialog procs are not
scoped by their dialog, but you can override it if you want your
dialog proc deleted when the dialog is deleted.
INT_PTR InitDialog |
( |
HWND |
focus |
) |
[inline] |
Initialize the dialog.
{
return dialogProc(WM_INITDIALOG, reinterpret_cast<WPARAM>(focus), 0);
}
void Invalidate |
( |
|
) |
[inline] |
bool OkToCommit |
( |
|
) |
[inline] |
Used for modal dialogs with IDOK and IDCANCEL.
Used for modal dialogs with IDOK and IDCANCEL.
The dialog is being closed.
This is called after all of the pages have been committed.
The dialog is being canceled.
bool ResizeDialog |
( |
SIZE * |
delta |
) |
[inline] |
Resize the dialog.
This method is only called if the size needs to be increased. If
the dialog was resize, the dialog manager will resize the tab
control and the content. The dialog proc may change the delta
values to correspond the the amount the dialog was resized.
- Parameters:
-
delta |
- The required change in size. |
- Returns:
- true if the dialog was resized.
virtual INT_PTR dialogProc |
( |
UINT |
msg, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
|
[inline, virtual] |
The general message proc.
This proc is like a dialog proc, not a window proc
- Parameters:
-
- Returns:
- TRUE if the message was handled, else FALSE to allow further
processing
Get extension interfaces, if there are any.
ITabDialogProc ITabDialogProc
ITabDialogProc ITabDialogProc ITabDialogProc ITabDialogProc
ITabDialogProc ITabDialogProc ITabDialogProc ITabDialogProc
ITabDialogProc ITabDialogProc
ITabDialogProc ITabDialogProc ITabDialogProc ITabDialogProc
ITabDialogProc ITabDialogProc ITabDialogProc ITabDialogProc