#ifndef __TOOLTIPDIALOG_H #define __TOOLTIPDIALOG_H #include "adui.h" #include "acui.h" #define CAcUiDialog GlwCAcUiDialog class CToolTipDialog: public CAcUiDialog { protected: CToolTipCtrl m_wndToolTip; public: DECLARE_DYNAMIC(CToolTipDialog) CToolTipDialog(UINT id, CWnd* pParent = NULL); BOOL AddTip(UINT idControl); BOOL AddTip(UINT idControl, const TCHAR *str); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CToolTipDialog) public: virtual BOOL PreTranslateMessage(MSG* pMsg); //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CToolTipDialog) virtual BOOL OnInitDialog(); afx_msg void OnDestroy(); afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #endif