Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

47 lines
1.1 KiB
C++

#if !defined(AFX_COMBOINLISTVIEW_H__60972C62_A33C_11D1_9798_002018026B76__INCLUDED_)
#define AFX_COMBOINLISTVIEW_H__60972C62_A33C_11D1_9798_002018026B76__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif
#ifdef EARTHWORM_EXPORT
#define DLLIMPEXP __declspec(dllexport)
#else
#define DLLIMPEXP __declspec(dllimport)
#endif
class DLLIMPEXP CComboInListView : public CComboBox
{
public:
CComboInListView(int iItem, int iSubItem, CStringList *plstItems);
public:
//{{AFX_VIRTUAL(CComboInListView)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
public:
virtual ~CComboInListView();
private:
int m_iItem;
int m_iSubItem;
CStringList m_lstItems;
BOOL m_bVK_ESCAPE;
protected:
//{{AFX_MSG(CComboInListView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnKillFocus(CWnd* pNewWnd);
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnNcDestroy();
afx_msg void OnCloseup();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSelchange();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif