#include <App.hpp>
List of all members.
Public Member Functions |
| | CApp (CFrameWnd &rFrameWnd, CCmdControl &rCmdControl) |
| virtual | ~CApp () |
| const CFont & | DefaultFont () |
| const CBrush & | MidToneBrush () |
| const CPen & | LightPen () |
| const CPen & | LightestPen () |
| const CPen & | DarkPen () |
| const CPen & | DarkestPen () |
| WCL::TimerID | StartTimer (uint nFrequency) |
| void | StopTimer (WCL::TimerID nTimerID) |
| int | AlertMsg (const tchar *pszMsg,...) const |
| int | QueryMsg (const tchar *pszMsg,...) const |
| int | NotifyMsg (const tchar *pszMsg,...) const |
| int | FatalMsg (const tchar *pszMsg,...) const |
| bool | ShowNormal () const |
Static Public Member Functions |
| static bool | IsValid () |
| | Check if the app singleton is valid.
|
| static CApp & | This () |
| | Global access to the app singleton.
|
Public Attributes |
| CString | m_strTitle |
| CFrameWnd & | m_rMainWnd |
| CCmdControl & | m_rCmdControl |
| CModule | m_Module |
| CMainThread | m_MainThread |
| CString | m_strCmdLine |
| int | m_iCmdShow |
| CComCtl32 | m_oComCtl32 |
Protected Member Functions |
| virtual bool | OnOpen () |
| virtual bool | OnClose () |
| virtual void | OnTimer (WCL::TimerID nTimerID) |
| virtual void | OnThreadMsg (UINT nMsg, WPARAM wParam, LPARAM lParam) |
Protected Attributes |
| CFont | m_DefaultFont |
| CBrush | m_MidToneBrush |
| CPen | m_LightPen |
| CPen | m_LightestPen |
| CPen | m_DarkPen |
| CPen | m_DarkestPen |
Private Member Functions |
| bool | Open () |
| void | Run () |
| void | Close () |
| | CApp (const CApp &) |
| CApp & | operator= (const CApp &) |
Static Private Member Functions |
| static void CALLBACK | TimerProc (HWND hWnd, UINT uMsg, WCL::TimerID nTimerID, DWORD dwTime) |
Static Private Attributes |
| static CApp * | g_pThis = NULL |
| | The singleton EXE component object.
|
Friends |
| class | CMainThread |
| int WINAPI | WinMain (HINSTANCE hCurrInst, HINSTANCE hPrevInst, LPSTR lpszCmdLine, int iCmdShow) |
Constructor & Destructor Documentation
Member Function Documentation
Check if the app singleton is valid.
Global access to the app singleton.
Reimplemented in CSDIApp.
| void CApp::OnThreadMsg |
( |
UINT |
nMsg, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| [protected, virtual] |
| CApp& CApp::operator= |
( |
const CApp & |
| ) |
[private] |
Friends And Related Function Documentation
| int WINAPI WinMain |
( |
HINSTANCE |
hCurrInst, |
|
|
HINSTANCE |
hPrevInst, |
|
|
LPSTR |
lpszCmdLine, |
|
|
int |
iCmdShow |
|
) |
| [friend] |
Member Data Documentation
The singleton EXE component object.
The documentation for this class was generated from the following files: