00001 #pragma once 00002 #include "afxwin.h" 00003 00004 00005 // CShaderAutoCompleteDlg dialog 00006 00007 class CShaderAutoCompleteDlg : public CResizableDialog 00008 { 00009 TOOLINFO m_ti; 00010 HWND m_hToolTipWnd; 00011 TCHAR m_text[1024]; 00012 00013 public: 00014 CShaderAutoCompleteDlg(CWnd* pParent = NULL); // standard constructor 00015 virtual ~CShaderAutoCompleteDlg(); 00016 00017 CMap<CString, LPCTSTR, CString, CString> m_inst; 00018 00019 // Dialog Data 00020 enum { IDD = IDD_SHADERAUTOCOMPLETEDLG }; 00021 00022 protected: 00023 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00024 00025 DECLARE_MESSAGE_MAP() 00026 00027 public: 00028 CListBox m_list; 00029 virtual BOOL OnInitDialog(); 00030 afx_msg void OnSetFocus(CWnd* pOldWnd); 00031 afx_msg void OnLbnSelchangeList1(); 00032 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); 00033 };