// BrowsDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CBrowseDlg dialog //{{AFX_INCLUDES() #include "leadimglist.h" #include "lttmbctl.h" //}}AFX_INCLUDES class CBrowseDlg : public CDialog { // Construction public: CBrowseDlg(CWnd* pParent = NULL); // standard constructor void OnCancel(); void AddLEADListItem(LPCTSTR pszFilename, long Bitmap); BOOL Create(); BOOL m_bBrowsing; // Dialog Data //{{AFX_DATA(CBrowseDlg) enum { IDD = IDD_BROWSEDLG }; CListBox m_HiddenList; CLeadImgList m_LEADImageList; CLTTmbCtl m_LEADThumb; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CBrowseDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual void PostNcDestroy(); //}}AFX_VIRTUAL // Implementation protected: CWnd* m_pMyOwner; int m_nID; // Generated message map functions //{{AFX_MSG(CBrowseDlg) virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnThumbnailEventLeadthumbctrl1(long Bitmap, LPCTSTR pszFilename, short nStatusCode, short nPercent); afx_msg void OnItemSelectedLeadimglistctrl1(long nIndex); afx_msg void OnClickLeadimglistctrl1(); afx_msg void OnKeyPressLeadimglistctrl1(short KeyAscii); afx_msg void OnClose(); afx_msg void OnPaletteChanged(CWnd* pFocusWnd); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() };