Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
CPreferences Class Reference

#include <Preferences.h>

Collaboration diagram for CPreferences:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CPreferences (LPCTSTR pszCaption, CWnd *pParentWnd=NULL, UINT iSelectPage=0)
virtual BOOL OnInitDialog ()
virtual ~CPreferences ()
 CPreferences (LPCTSTR pszCaption, CWnd *pParentWnd=NULL, UINT iSelectPage=0)
virtual BOOL OnInitDialog ()
virtual ~CPreferences ()

Public Attributes

CStartupPrefsPage m_startupPage

Detailed Description

Definition at line 88 of file Preferences.h.


Constructor & Destructor Documentation

CPreferences::CPreferences ( LPCTSTR  pszCaption,
CWnd *  pParentWnd = NULL,
UINT  iSelectPage = 0 
)

Definition at line 53 of file Preferences.cpp.

       :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
    AddPage(&m_startupPage);
}

Definition at line 59 of file Preferences.cpp.

{
}
CPreferences::CPreferences ( LPCTSTR  pszCaption,
CWnd *  pParentWnd = NULL,
UINT  iSelectPage = 0 
)
virtual CPreferences::~CPreferences ( ) [virtual]

Member Function Documentation

virtual BOOL CPreferences::OnInitDialog ( ) [virtual]

Definition at line 70 of file Preferences.cpp.

{
       BOOL bResult = CPropertySheet::OnInitDialog();
       
    // Hide the Apply button
    CWnd* pApplyButton = GetDlgItem(ID_APPLY_NOW);
    ASSERT(pApplyButton);
    pApplyButton->ShowWindow(SW_HIDE);

       return bResult;
}

Member Data Documentation

Definition at line 98 of file Preferences.h.


The documentation for this class was generated from the following files: