BUG: Tooltip for an Edit Control Is Not Displayed

ID: Q149700


The information in this article applies to:


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.


Keywords          : kbWin32s 
Version           : 1.30 1.30c
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 11, 1999