52 lines
1.1 KiB
C++
52 lines
1.1 KiB
C++
#if !defined(AFX_UIIINPLACECOMBOBOX_H__69B91C38_F770_4073_876F_41538AA55002__INCLUDED_)
|
|
#define AFX_UIIINPLACECOMBOBOX_H__69B91C38_F770_4073_876F_41538AA55002__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#ifdef EARTHWORM_EXPORT
|
|
#define DLLIMPEXP __declspec(dllexport)
|
|
#else
|
|
#define DLLIMPEXP __declspec(dllimport)
|
|
#endif
|
|
|
|
class DLLIMPEXP CUIIInplaceComboBox : public CComboBox
|
|
{
|
|
public:
|
|
CUIIInplaceComboBox();
|
|
CUIIInplaceComboBox( int nItem, int nSubItem, CStringList *psList = NULL);
|
|
virtual ~CUIIInplaceComboBox();
|
|
|
|
public:
|
|
|
|
public:
|
|
//{{AFX_VIRTUAL(CUIIInplaceComboBox)
|
|
public:
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
//}}AFX_VIRTUAL
|
|
|
|
protected:
|
|
//{{AFX_MSG(CUIIInplaceComboBox)
|
|
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
|