BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Not available BCGSuite (MFC)
Fully implemented BCGControlBar (Microsoft .NET)

Tooltip Control

The library provides an easy way to implement advanced multi-line tooltips with custom colors, rounded shapes and icons. In addition, a developer can use the standard balloon-style tooltips along with the library GUI elements such as toolbars, menus, tab controls and create custom owner-draw tooltips.
MS Office-style tooltip


Balloon-style tooltip


User-defined tooltip


Sample code:
// Set tooltip parameters:
CBCGPToolTipParams params;

params.m_bBoldLabel = TRUE;
params.m_bDrawDescription = TRUE;
params.m_bDrawIcon = TRUE;
params.m_bRoundedCorners = TRUE;
params.m_bDrawSeparator = TRUE;

params.m_clrFill = RGB (255, 255, 255);
params.m_clrFillGradient = RGB (228, 228, 240);
params.m_clrText = RGB (61, 83, 80);
params.m_clrBorder = RGB (144, 149, 168);

theApp.GetTooltipManager ()->SetTooltipParams (
    BCGP_TOOLTIP_TYPE_ALL,
    RUNTIME_CLASS (CBCGPToolTipCtrl),
    & params);
Prev  Next