-
Notifications
You must be signed in to change notification settings - Fork 17
/
ShortcutDlg.h
57 lines (44 loc) · 1.07 KB
/
ShortcutDlg.h
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
55
56
57
//
// ショートカットダイアログクラス
//
#ifndef __CSHORTCUTDLG_INCLUDED__
#define __CSHORTCUTDLG_INCLUDED__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <string>
using namespace std;
#include "Wnd.h"
#include "Config.h"
class CShortcutDlg : public CWnd
{
public:
// Override from CWnd
INT DoModal( HWND hWndParent );
// Override from CWnd
BOOL PreTranslateMessage( MSG* pMsg );
protected:
void OnInitialMember();
// Message map
DLG_MESSAGE_MAP()
DLGMSG OnInitDialog( DLGMSGPARAM );
DLGMSG OnTimer( DLGMSGPARAM );
DLGNOTIFY OnListDblClick( DLGNOTIFYPARAM );
DLGNOTIFY OnListItemChanged( DLGNOTIFYPARAM );
DLGCMD OnOK( DLGCMDPARAM );
DLGCMD OnCancel( DLGCMDPARAM );
DLGCMD OnDefault( DLGCMDPARAM );
//
CHAR m_szWindowTitle[256];
CHAR m_szMessage[256];
BOOL m_bCancelMode;
INT m_SelectPos;
INT m_SelectID;
INT m_SelectSubID;
INT m_TimerID;
INT m_TimerCount;
INT m_ControlBuf [128];
INT m_ControlBuf2[128];
CCfgShortCut m_ConfigSave;
private:
};
#endif // !__CSHORTCUTDLG_INCLUDED__