mrDarker
2025-08-09 7201dd0993a94087a1c03e4f9700e3a6128d17e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// 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();
};