00001
00002
00003
00005
00006
00007 class CInPlaceList : public CComboBox
00008 {
00009
00010 public:
00011 CInPlaceList(int iItem, int iSubItem, CStringList *plstItems, int nSel);
00012
00013
00014 public:
00015
00016
00017 public:
00018
00019
00020
00021
00022 public:
00023 virtual BOOL PreTranslateMessage(MSG* pMsg);
00024
00025
00026
00027 public:
00028 virtual ~CInPlaceList();
00029
00030
00031 protected:
00032
00033 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00034 afx_msg void OnKillFocus(CWnd* pNewWnd);
00035 afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
00036 afx_msg void OnNcDestroy();
00037 afx_msg void OnCloseup();
00038
00039
00040 DECLARE_MESSAGE_MAP()
00041 private:
00042 int m_iItem;
00043 int m_iSubItem;
00044 CStringList m_lstItems;
00045 int m_nSel;
00046 BOOL m_bESC;
00047 };
00048