WTL Tooltips?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am trying to get tooltips to work in a dialog application over a static control. In maindlg.h I declare: CToolTipCtrl ctipQStatus And in OnInitDialog: RECT rcTest; BOOL bTest = ::GetWindowRect(GetDlgItem(IDC_MGOOD), &rcTest); CToolInfo ctiTest(TTF_CENTERTIP, m_hWnd, IDC_MGOOD,&rcTest, "Tooltip Test"); HWND hwTest = ctipQStatus.Create(m_hWnd); bTest = ctipQStatus.AddTool(ctiTest); ctipQStatus.Activate(TRUE); Am I just completely missing how to use this? Thanks, sbl