// MainFrm.h : CMainFrame Ŭ·¡½ºÀÇ ÀÎÅÍÆäÀ̽º
|
//
|
|
|
#pragma once
|
#define UM_TRAY WM_USER + 777
|
|
class CMainFrame : public CFrameWnd
|
{
|
|
protected: // serialization¿¡¼¸¸ ¸¸µé¾îÁý´Ï´Ù.
|
CMainFrame();
|
DECLARE_DYNCREATE(CMainFrame)
|
|
// Ư¼ºÀÔ´Ï´Ù.
|
public:
|
UINT m_uShellRestart;
|
bool m_bOnTop;
|
// ÀÛ¾÷ÀÔ´Ï´Ù.
|
public:
|
|
// ÀçÁ¤ÀÇÀÔ´Ï´Ù.
|
public:
|
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
|
// ±¸ÇöÀÔ´Ï´Ù.
|
public:
|
virtual ~CMainFrame();
|
#ifdef _DEBUG
|
virtual void AssertValid() const;
|
virtual void Dump(CDumpContext& dc) const;
|
#endif
|
|
protected: // ÄÁÆ®·Ñ ¸ðÀ½ÀÌ Æ÷ÇÔµÈ ¸â¹öÀÔ´Ï´Ù.
|
CStatusBar m_wndStatusBar;
|
CToolBar m_wndToolBar;
|
|
// »ý¼ºµÈ ¸Þ½ÃÁö ¸Ê ÇÔ¼ö
|
protected:
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
afx_msg LRESULT OnTray(WPARAM wParam, LPARAM lParam);
|
DECLARE_MESSAGE_MAP()
|
public:
|
void GoTray(void);
|
afx_msg void OnClose();
|
afx_msg void OnDestroy();
|
|
afx_msg void OnTraymenuShowapplication();
|
afx_msg void OnTraymenuExit();
|
protected:
|
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
|
public:
|
afx_msg void OnViewalwaysontop();
|
};
|