⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tooltip.h

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 H
字号:
///////////////////////////////////////////////////////////////////////////////// Name:        msw/tooltip.h// Purpose:     wxToolTip class - tooltip control// Author:      David Webster// Modified by:// Created:     10/17/99// RCS-ID:      $Id: tooltip.h,v 1.10 2005/09/25 20:49:32 MW Exp $// Copyright:   (c) David Webster// Licence:     wxWindows licence///////////////////////////////////////////////////////////////////////////////#ifndef _WX_OS2_TOOLTIP_H_#define _WX_OS2_TOOLTIP_H_class wxToolTip : public wxObject{public:    // ctor & dtor    wxToolTip(const wxString &rsTip);    virtual ~wxToolTip();    //    // Accessors    //    inline const wxString& GetTip(void) const { return m_sText; }    inline wxWindow*       GetWindow(void) const { return m_pWindow; }           void            SetTip(const wxString& rsTip);    inline void            SetWindow(wxWindow* pWin) { m_pWindow = pWin; }    // controlling tooltip behaviour: globally change tooltip parameters        // enable or disable the tooltips globally    static void Enable(bool WXUNUSED(flag)) {}        // set the delay after which the tooltip appears    static void SetDelay(long WXUNUSED(milliseconds)) {}    //    // Implementation    //    void DisplayToolTipWindow(const wxPoint& rPos);    void HideToolTipWindow(void);private:    void Create(const wxString &rsTip);    HWND                            m_hWnd;    wxString                        m_sText;           // tooltip text    wxWindow*                       m_pWindow;         // window we're associated with}; // end of CLASS wxToolTip#endif // _WX_OS2_TOOLTIP_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -