Dapfor home  

CHeaderConfigurationDlg Class Reference

Handles the visibility and location of the columns in the header. More...

#include <Dapfor/GUI/HeaderConfigurationDlg.h>

List of all members.

Public Member Functions

 CHeaderConfigurationDlg (CHeader &header, CWnd *pParent=NULL)
 Constructor.
virtual ~CHeaderConfigurationDlg ()
 Destructor.
virtual DF_DOMODAL_TYPE DoModal ()
 Configures the header in a modal window.


Detailed Description

Handles the visibility and location of the columns in the header.

It is intended for handling columns visibility and location in the grid by means of a dialogue. The class allows to replace columns, to disappear or appear them. As a parameter of the constructor, the class accepts an object of CHeader class into which then all changes are made in the case when the user confirms his choice pressing the button OK. If the header transferred into the constructor is used by the grid, the grid automatically updates contents depending on the new values set in the header.


Constructor & Destructor Documentation

CHeaderConfigurationDlg ( CHeader header,
CWnd *  pParent = NULL 
)

Constructor.

Parameters:
[in] header Header to be configured
[in] pParent The parent window.


Member Function Documentation

DF_DOMODAL_TYPE DoModal (  )  [virtual]

Configures the header in a modal window.

Returns:
Value, indicating the result of an operation. IDOK - User pressed 'Ok' button, IDCANCEL - 'Cancel' button. The return value is -1 if the function could not create a dialog box.


Copyright Dapfor 2007-2009
Generated on Sat Jan 30 15:01:27 2010 for MFCGrid by doxygen 1.5.5