Main window class generated by MFC.
Field Summary |
||
Access | Data Type | Name |
protected | CStatusBar | m_wndStatusBar |
protected | CToolBar | m_wndToolBar |
Constructor Summary |
||
CMainFrame() |
Destructor Summary |
||
~CMainFrame() |
Method Summary |
||
protected: int | OnCreate(LPCREATESTRUCT lpCreateStruct) | |
protected: void | OnFileChangeUser() | |
BOOL | PreCreateWindow(CREATESTRUCT& cs) | |
void | ShowUserLoginDialog() |
Field Detail |
m_wndStatusBar
Main status bar of the application.
m_wndToolBar
Main toolbar of the application.
Constructor Detail |
CMainFrame()
Default constructor.
Destructor Detail |
~CMainFrame()
Default Destructor.
Method Detail |
OnCreate(LPCREATESTRUCT lpCreateStruct)
Constructs toolbar and status bar, and shows splash window.
OnFileChangeUser()
Calls ShowUserLoginDialog() to show the Login dialog.
It's automatically called when user clicks 'File-Login/Change User' menu item.
PreCreateWindow(CREATESTRUCT& cs)
Called automatically before mainframe window is created. Fixes the window size to that defined in the
constants list.
ShowUserLoginDialog()
Checks whether a connection with the Chatter-jee Server exists, and if yes, creates and
displays a Login dialog.