Skip to content

SetToolBarTips

Narta Xaymar Dirks edited this page Oct 28, 2026 · 6 revisions
BlitzPlus

SetToolBarTips

SetToolBarTips:Void toolbar:Int32, tips:String
Parameter Mode Type Default Description
toolbar In Int32 required Handle of a toolbar.
tips In String required Hints separated by commas.

Description

Sets the hints for the icons of a toolbar, as a list separated by commas with one for each icon. They are supposed to pop up when the mouse rests over an icon.

Differences

  • A hint shows below its button after the mouse rested on it for half a second, in a yellow box, and goes when the mouse moves to another button or is pressed. Spaces between buttons do not take a hint.

Examples

Graphics 320, 240, 32, 2
strip = CreateImage(32, 16)
SetBuffer ImageBuffer(strip)
Color 255, 0, 255 : Rect 0, 0, 32, 16, 1
Color 200, 40, 40 : Rect 2, 2, 12, 12, 1
Color 40, 140, 40 : Oval 18, 2, 12, 12, 1
SaveImage strip, "icons.bmp"
SetBuffer BackBuffer()
win = CreateWindow("Tips", 10, 10, 300, 100, Desktop(), 3)
bar = CreateToolBar("icons.bmp", 0, 0, 280, 28, win)
SetToolBarTips bar, "Red thing,Green thing"
Repeat
Until WaitEvent() = $803

Media

SetToolBarTips

Related Commands

CreateToolBar, DisableToolBarItem, EnableToolBarItem, SetGadgetIconStrip

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally