#pragma once
|
|
#include "btnenh.h"
|
#include "Global_Define.h"
|
// CViewMapSettings ´ëÈ »óÀÚÀÔ´Ï´Ù.
|
|
class CViewMapSettings : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CViewMapSettings)
|
|
public:
|
CViewMapSettings(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
|
virtual ~CViewMapSettings();
|
|
// ´ëÈ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
|
enum { IDD = IDD_DLG_MAP_SETTINGS };
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿øÀÔ´Ï´Ù.
|
virtual BOOL OnInitDialog();
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
void ClickMapSettinsSave();
|
void OnClickMapSettinsClose();
|
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
|
DECLARE_MESSAGE_MAP()
|
DECLARE_EVENTSINK_MAP()
|
|
public:
|
void LoadMapSettings(_ST_MAPSETTINGS &MapSettings);
|
void SaveMapSettings(_ST_MAPSETTINGS MapSettings);
|
_ST_MAPSETTINGS *GetMapData(){return &m_MapsSettings;}
|
|
protected:
|
void Init_Grid();
|
void Init_GridHeader(CGridCtrl *pGrid);
|
void Fill_Grid(BOOL bWrite);
|
|
protected:
|
CGridCtrl m_MapGrid[2];
|
_ST_MAPSETTINGS m_MapsSettings;
|
};
|