WTL Controls
Back to the WTL Controls Home Page.
ToolTipPlus.h
Go to the documentation of this file.
1 #pragma once
2 #include "stdafx.h"
3 //--------------------------------------------------------------------------------------
4 //--------------------------------------------------------------------------------------
5 //
6 //
7 // WTL Control Library
8 // by
9 // Bright Ideas Software®
10 // Copyright © 2018 by Bright Ideas Software.
11 //
12 //
13 //
14 //--------------------------------------------------------------------------------------
15 //--------------------------------------------------------------------------------------
16 
17 
18 namespace BIS_WTL_CONTROLS
19 {
20 
38  //-------------------------------------------------------------------------------------------------------------
39  class CToolTipPlus : public CToolTipCtrl
40  {
41 
42  public:
43  CToolTipPlus() noexcept;
44  virtual ~CToolTipPlus();
45 
46 
47  BOOL AddWindowTool (HWND pWnd, LPCTSTR pszText);
48  BOOL AddRectTool (HWND pWnd, LPCTSTR pszText, LPCRECT pRect, UINT nIDTool);
49 
50  };
51  //-------------------------------------------------------------------------------------------------------------
52 
53 };
54 
55 
BOOL AddRectTool(HWND pWnd, LPCTSTR pszText, LPCRECT pRect, UINT nIDTool)
Add a tooltip to an arbitrary rectangular region.
Definition: ToolTipPlus.cpp:65
A CToolTipCtrl descendant providing a couple added member functions making it easier and more conveni...
Definition: ToolTipPlus.h:39
BOOL AddWindowTool(HWND pWnd, LPCTSTR pszText)
Add a tooltip to a child window control.
Definition: ToolTipPlus.cpp:39