Jump to content

Hint Bubble

From EDM2
Revision as of 04:29, 24 August 2016 by Reiknir (talk | contribs)

Hint Bubble is a Presentation Manager control delivered in the form of a [[[dynamic link library]] that displays small text help bubbles, the Hint Bubble control can be attached to any other control to display some helpful information about the control. It is often used in toolbars where the array of icons can become confusing. It normally pops up after some specified time when the user keeps the mouse pointer over the control. As can be seen below, the Hint Bubble consists of a bubble area in which text is displayed and a triangular piece leading from the attached control. The positioning of the "point" of the triangular piece can be specified absolutely or by mouse pointer position. Also, the "side" on which the bubble appears can be specified through style flags. You do not need to specify a size for the control, as it automatically sizes based upon the text it is to display. You can insert line breaks in the hint text by embedding "\n" in the text. The text will then be displayed as multiple lines in the bubble area.

What to put in the .RC file

When designing a dialog, specify "HINTBUBBLE" for the class name of any Hint Bubble control you would like to use as in:

   CONTROL "Hint Text", 101, 8, 23, 153, 36, "HINTBUBBLE", WS_VISIBLE

ScreenShots


Download

API

Functions

  • HintBubbleRegister

Control Data

  • WM_SETWINDOWPARAMS

Files

  • BUBBLE.DLL
  • CPMBC21B.DLL

Licence

Freeware

Author