Enumerations

Tab Dialog Messages

Enumerations

enum   TabDialogMessages {
  TABDLG_SWITCH_FROM = WM_USER + 1, TABDLG_SWITCH_TO = WM_USER + 2, TABDLG_COMMIT = WM_USER + 3, TABDLG_PRECOMMIT = WM_USER + 4,
  TABDLG_CANCEL = WM_USER + 5, TABDLG_CLOSE = WM_USER + 6, TABDLG_INVALIDATE = WM_USER + 7, TABDLGNOTIFY_GETINITINFO = WM_USER + 8,
  TABDLG_RESIZE_DIALOG = WM_USER + 9
}

Detailed Description

Description:
The following is the list of messages used by the tab dialog class

Enumeration Type Documentation

Enumerator:
TABDLG_SWITCH_FROM 

Switching from this page.

TABDLG_SWITCH_TO 

Switching to this page.

TABDLG_COMMIT 

Commit the page's working values for real.

TABDLG_PRECOMMIT 

Check your values, but don't close the dialog;.

if your page needs to reject an OK, set the bool* in LPARAM to false.

TABDLG_CANCEL 

User is cancelling out of the dialog.

TABDLG_CLOSE 

User is closing a modeless dialog.

TABDLG_INVALIDATE 

The underlying data has changed.

TABDLGNOTIFY_GETINITINFO 

WE need to get init, see struct TABDLG_NMHDR.

TABDLG_RESIZE_DIALOG 

The tab is too small for the content.

                       {
   TABDLG_SWITCH_FROM   = WM_USER + 1, 
   TABDLG_SWITCH_TO  = WM_USER + 2, 
   TABDLG_COMMIT     = WM_USER + 3, 
   TABDLG_PRECOMMIT  = WM_USER + 4, 


   TABDLG_CANCEL     = WM_USER + 5, 
   TABDLG_CLOSE      = WM_USER + 6, 
   TABDLG_INVALIDATE = WM_USER + 7, 
   TABDLGNOTIFY_GETINITINFO   = WM_USER + 8, 
   TABDLG_RESIZE_DIALOG= WM_USER + 9   
};