BUG: Tooltip for an Edit Control Is Not Displayed

Last reviewed: April 11, 1996
Article ID: Q149700
The information in this article applies to:
  • Microsoft Win32s versions 1.3, 1.3c

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.


Additional reference words: 1.30 1.30c
KBCategory: kbprg kbbuglist
KBSubcategory: w32s



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 11, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.