home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / VFORM.ZIP / Source / VfScrollTip.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-10  |  1.5 KB  |  61 lines

  1. #if !defined(AFX_VFSCROLLTIP_H__2BC7A3E4_D139_11D1_88FB_00A0C9050951__INCLUDED_)
  2. #define AFX_VFSCROLLTIP_H__2BC7A3E4_D139_11D1_88FB_00A0C9050951__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // VfScrollTip.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // VfScrollTip window
  12.  
  13. class VfScrollTip : public CWnd
  14. {
  15. private:
  16.     BOOL        m_bActive;
  17.     BOOL        m_bIsOn;
  18.     TOOLINFO    m_ti;
  19.     CWnd*        m_pParent;
  20.     int            m_nSavedX;
  21. // Construction
  22. public:
  23.     VfScrollTip();
  24.  
  25. // Attributes
  26. public:
  27.  
  28. // Operations
  29. public:
  30.     BOOL    Create(CWnd *pParentWnd);
  31.     void    Show(const POINT& point, LPCTSTR szFormat, ...);
  32.     void    Hide();
  33.     BOOL    IsOn()                { return m_bIsOn; }
  34.     void    IsOn(BOOL bFlag)    { m_bIsOn = bFlag; }
  35.  
  36. // Overrides
  37.     // ClassWizard generated virtual function overrides
  38.     //{{AFX_VIRTUAL(VfScrollTip)
  39.     // virtual BOOL PreTranslateMessage(MSG* pMsg);
  40.     //}}AFX_VIRTUAL
  41.  
  42. // Implementation
  43. public:
  44.     virtual ~VfScrollTip();
  45.  
  46.     // Generated message map functions
  47. protected:
  48.     //{{AFX_MSG(VfScrollTip)
  49.         // NOTE - the ClassWizard will add and remove member functions here.
  50.     //}}AFX_MSG
  51.  
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56.  
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59.  
  60. #endif // !defined(AFX_VFSCROLLTIP_H__2BC7A3E4_D139_11D1_88FB_00A0C9050951__INCLUDED_)
  61.