BUG: Tooltip for an Edit Control Is Not Displayed (149700)
The information in this article applies to:
- Microsoft Win32s 1.3
- Microsoft Win32s 1.3c
This article was previously published under Q149700 SYMPTOMS
When a tooltip is assigned to an edit control, it never or very rarely
shows up. As a side effect, when the edit control has focus, the mouse
pointer blinks with the speed of the caret.
CAUSE
The tooltips code calculates the position to place the tooltip window, by
scanning the mask bitmap of the mouse pointer and finding the lowest point
that is not transparent. The beam mouse pointer has a mask bitmap that is
completely transparent, so the tooltips code never finds a lowest point and
places the tooltip too high. Once the tooltip window appears, it gets a
WM_MOUSEMOVE message, because the mouse pointer is inside the tooltip
window, and therefore disappears immediately.
RESOLUTION
Replace the edit control mouse pointer's bitmap with a non-transparent
bitmap.
STATUS
Microsoft has confirmed this to be a bug in Win32s version 1.30 and later.
We are researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
Modification Type: | Minor | Last Reviewed: | 5/14/2004 |
---|
Keywords: | KB149700 |
---|
|