| void CBCGPTooltipManager::SetTooltipParams | ( | UINT | nTypes, |
| CRuntimeClass * | pRTC = RUNTIME_CLASS(CBCGPToolTipCtrl), |
||
| CBCGPToolTipParams * | pParams = NULL |
||
| ) |
Sets tooltip parameters.
Call this function to customize tooltip appearance by specifying tooltip parameters. You can associate parameters with custom tooltip runtime class and control type. When a control of the specified type (docking bar, toolbar and so on) is being created, the library instantiates a tooltip control using the runtime class and passes to the newly created tooltip the associated parameters.
All existing tooltip owners are sent the BCGM_UPDATETOOLTIPS messages and they must recreate their tooltips using CreateToolTip().
The library supports a combination of the following types:
| nTypes | Specifies control types. |
| pRTC | Runtime class of custom tooltip. |
| pParams | Tooltip parameters. |