GME  13
ComboBoxSelectDlg.h
Go to the documentation of this file.
00001 #if !defined(AFX_COMBOBOXSELECTDLG_H__681E99E2_6596_4511_9CED_D7F2F2FC194E__INCLUDED_)
00002 #define AFX_COMBOBOXSELECTDLG_H__681E99E2_6596_4511_9CED_D7F2F2FC194E__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // ComboBoxSelectDlg.h : header file
00008 //
00009 
00010 #include "HooverListBox.h"
00011 
00012 class CListItem;
00013 
00014 class CComboBoxSelectDlg : public CDialog
00015 {
00016         bool m_bInited;
00017         bool m_bClosed;
00018         int m_ComboboxLineHeight;
00019 
00020 // Construction
00021 public:
00022         CComboBoxSelectDlg(CWnd* pParent, int comboboxLineHeight);
00023 
00024 // Attributes
00025 protected :
00026         CHooverListBox  m_lstBox;
00027         CRect                   m_RectBound;
00028         CFont*                  m_pFontWnd;
00029         CListItem*              m_pListItem;
00030 
00031 public :
00032         void SetParameters(const CRect& rectBound, CListItem* pListItem, CFont* pFontWnd);
00033 
00034 // Dialog Data
00035         //{{AFX_DATA(CComboBoxSelectDlg)
00036         enum { IDD = IDD_DIALOG_COMBOBOX };
00037                 // NOTE: the ClassWizard will add data members here
00038         //}}AFX_DATA
00039 
00040 
00041 // Overrides
00042         // ClassWizard generated virtual function overrides
00043         //{{AFX_VIRTUAL(CComboBoxSelectDlg)
00044         protected:
00045         virtual void DoDataExchange(CDataExchange* pDX);        // DDX/DDV support
00046         //}}AFX_VIRTUAL
00047 
00048 // Implementation
00049 protected:
00050 
00051         // Generated message map functions
00052         //{{AFX_MSG(CComboBoxSelectDlg)
00053         afx_msg BOOL OnNcActivate(BOOL bActive);
00054         virtual BOOL OnInitDialog();
00055         afx_msg LRESULT OnComboSelEnd(WPARAM lParam, LPARAM);
00056         void OnOK();
00057         //}}AFX_MSG
00058         DECLARE_MESSAGE_MAP()
00059 };
00060 
00061 //{{AFX_INSERT_LOCATION}}
00062 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00063 
00064 #endif // !defined(AFX_COMBOBOXSELECTDLG_H__681E99E2_6596_4511_9CED_D7F2F2FC194E__INCLUDED_)