46 lines
1.0 KiB
C++
46 lines
1.0 KiB
C++
#if !defined(AFX_AECINPLACECOMBOBOX_H__69B91C38_F770_4073_876F_41538AA55002__INCLUDED_)
|
|
#define AFX_AECINPLACECOMBOBOX_H__69B91C38_F770_4073_876F_41538AA55002__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
class AECInplaceComboBox : public CComboBox
|
|
{
|
|
public:
|
|
AECInplaceComboBox();
|
|
AECInplaceComboBox( int nItem, int nSubItem, CStringList *psList = NULL);
|
|
virtual ~AECInplaceComboBox();
|
|
|
|
public:
|
|
|
|
public:
|
|
//{{AFX_VIRTUAL(AECInplaceComboBox)
|
|
public:
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
//}}AFX_VIRTUAL
|
|
|
|
protected:
|
|
//{{AFX_MSG(AECInplaceComboBox)
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
afx_msg void OnNcDestroy();
|
|
afx_msg void OnKillFocus(CWnd* pNewWnd);
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
afx_msg void OnCloseup();
|
|
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
|
|
afx_msg void OnPaint();
|
|
//}}AFX_MSG
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
protected:
|
|
|
|
int m_nItem;
|
|
int m_nSubItem;
|
|
CStringList m_sList;
|
|
BOOL m_bVK_ESCAPE;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
#endif
|