#pragma once
#include "afxwin.h"
#include "afxcmn.h"

class Hotkeys : public CPropertyPage {
	DECLARE_DYNAMIC(Hotkeys)

public:
	Hotkeys();
	virtual ~Hotkeys();

// Dialog Data
	enum { IDD = IDD_HOTKEYS };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    virtual BOOL OnInitDialog();
	DECLARE_MESSAGE_MAP()

private:
    void SelectItem(int idx);

private:
    CComboBox _action;
    CButton _keys;
    CListCtrl _list;
    afx_msg void OnBnClickedAdd();
    afx_msg void OnBnClickedRemove();
    afx_msg void OnLvnItemchangedKeys(NMHDR *pNMHDR, LRESULT *pResult);
    afx_msg void OnBnClickedKeys();
};

#pragma once
#include "afxwin.h"
#include "afxcmn.h"

#include <vector>

#include "HotkeyInfo.h"

class Hotkeys : public CPropertyPage {
	DECLARE_DYNAMIC(Hotkeys)

public:
	Hotkeys();
	virtual ~Hotkeys();

	enum { IDD = IDD_HOTKEYS };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);
    virtual BOOL OnInitDialog();
	DECLARE_MESSAGE_MAP()

private:
    std::vector<HotkeyInfo> _keyInfo;
    void SelectItem(int idx);

private:
    CComboBox _action;
    CButton _keys;
    CListCtrl _list;
    afx_msg void OnBnClickedAdd();
    afx_msg void OnBnClickedRemove();
    afx_msg void OnLvnItemchangedKeys(NMHDR *pNMHDR, LRESULT *pResult);
    afx_msg void OnBnClickedKeys();
};

Add list to contain hotkey info
Add list to contain hotkey info
