Show: Delphi C++
Display Preferences

Vcl.ComCtrls.TCoolBar

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ToolWin.TToolWindowVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCoolBar

Delphi

TCoolBar = class(TToolWindow)

C++

class PASCALIMPLEMENTATION TCoolBar : public Vcl::Toolwin::TToolWindow

Properties

Type Visibility Source Unit Parent
class public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

Description

TCoolBar displays a collection of windowed controls within movable, resizable bands.

TCoolBar is a wrapper class for a Windows rebar control, more commonly known as a CoolBar. A CoolBar contains child controls that can be moved and resized independently. Each control resides on an individual band, represented by a TCoolBand object listed in the Bands property. The user positions the controls by dragging the sizing grip to the left of each band.

If its FixedSize property is true, a CoolBar can contain any kind control. If FixedSize is false, only wrapper controls (instances of TWinControl descendants) can appear on the CoolBar.

To create a bar that acts as a docking site for tool bars and other controls, use TControlBar instead.

Note: TCoolBar requires version 4.70 or later of COMCTL32.DLL. This file, which usually resides in the WINDOWS\SYSTEM or WINDOWS\SYSTEM32 directory, is required at both design time and runtime. Contact Microsoft for information about deploying COMCTL32.DLL.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance