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

42 lines
775 B
C++

#ifndef _INPLACECOMBOBOX_H__
#define _INPLACECOMBOBOX_H__
#if _MSC_VER > 1000
#pragma once
#endif
class CInPlaceComboBox : public CComboBox
{
public:
CInPlaceComboBox();
CInPlaceComboBox(int iItem, int iSubItem, CString sInitText);
virtual ~CInPlaceComboBox();
public:
public:
//{{AFX_VIRTUAL(CInPlaceComboBox)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CInPlaceComboBox)
afx_msg void OnNcDestroy();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSelchange();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_iItem;
int m_iSubItem;
CString m_sInitText;
public:
int m_nInitFlag;
afx_msg void OnCbnKillfocus();
};
//{{AFX_INSERT_LOCATION}}
#endif //_INPLACECOMBOBOX_H__