Skip to content

Instantly share code, notes, and snippets.

@kazmura11
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazmura11/4619004166b0656bbbe1 to your computer and use it in GitHub Desktop.
Save kazmura11/4619004166b0656bbbe1 to your computer and use it in GitHub Desktop.
MFCGoogleMapAppDlg.hのソース
// MFCGoogleMapAppDlg.h : ヘッダー ファイル
//
#pragma once
// CMFCGoogleMapAppDlg ダイアログ
class CMFCGoogleMapAppDlg : public CDHtmlDialog
{
// コンストラクション
public:
CMFCGoogleMapAppDlg(CWnd* pParent = NULL); // 標準コンストラクター
// ダイアログ データ
enum { IDD = IDD_MFCGOOGLEMAPAPP_DIALOG, IDH = IDR_HTML_MFCGOOGLEMAPAPP_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV サポート
// 使わないので削除
// HRESULT OnButtonOK(IHTMLElement *pElement);
// HRESULT OnButtonCancel(IHTMLElement *pElement);
// 使わないので削除
// 実装
protected:
HICON m_hIcon;
// 生成された、メッセージ割り当て関数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
DECLARE_DHTML_EVENT_MAP()
// ここから追加
private:
CString txtValueY; // 緯度
CString txtValueX; // 経度
// ここまで追加
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment