42 ti.cbSize =
sizeof (TOOLINFO);
43 ti.uFlags = TTF_IDISHWND | TTF_SUBCLASS;
44 ti.hwnd = ::GetParent (hWnd);
46 ti.hinst = _Module.m_hInst;
47 ti.lpszText = (LPTSTR) pszText;
49 return (BOOL) SendMessage (TTM_ADDTOOL, 0, (LPARAM) &ti);
68 ti.cbSize =
sizeof (TOOLINFO);
69 ti.uFlags = TTF_SUBCLASS;
72 ti.hinst = _Module.m_hInst;
73 ti.lpszText = (LPTSTR) pszText;
74 ::CopyRect (&ti.rect, lpRect);
76 return (BOOL) SendMessage (TTM_ADDTOOL, 0, (LPARAM) &ti);