|
-
Jan 22nd, 2010, 02:42 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Don't want to show tooltip when over Vscrollbar
I have successfully created a tooltip using TOOLINFO structure, and changed its time on, changed the title, changed the text, using SendMessage and the proper TTMs. However I do not want the tooltip to popup when over the control's Vscrollbar. I played around with TOOLINFO.rc values, but when I do, the tooltip won't pop up at all. What am I doing wrong?
.rc.right = listbox.width
.rc.left = listbox.left
.rc.top = listbox.top
.rc.bottom = listbox.height
.uflags = TTF_SUBCLASS
TTM_GETTEXTA = Wm_User + 11
Public Type
cbsize as long
uFlags as Long
hwnd as long
uID as long
rc as RECT
hInstance as Long
lpszText as String
lParam as long
End Type
Dim parentHwnd as long 'handle of the control I want the tooltip to trigger over
Dim tipHwnd as Long 'returned from CreateWindow(tooltip setup styles)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|