Files
envi-code/SourceCode/Code2026/EarthWormMain/CmdQueryDlg.h
T

36 lines
806 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#pragma once
2026-09-28 15:28:50 +08:00
#include "resource.h"
#include "singleton.h"
#include <deque>
class CmdQueryDlg : public CDialog
{
DECLARE_DYNAMIC(CmdQueryDlg)
public:
CmdQueryDlg(CWnd* pParent = NULL);
virtual ~CmdQueryDlg();
enum { IDD = IDD_CMD_QUERY_DLG };
void initShow();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
virtual BOOL PreTranslateMessage(MSG* pMsg);
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedSetting();
afx_msg void OnCbnEditchangeCombo();
afx_msg void OnCbnSelectOKCombo();
afx_msg LONG_PTR onAcadKeepFocus( UINT_PTR, LONG_PTR);
virtual void OnShowWindow(BOOL bShow, UINT nStatus);
private:
CComboBox m_searchCombo;
std::deque<CString> m_cmds;
};
typedef Singleton<CmdQueryDlg> g_CmdQueryDlg;