C++C++11C++14C++17Language FeatureLearn C++

Learn About Basic Windows Components In C++ Development ( Quick Look Part 2)

TComboBox

ComboBox is used to select list of texts (i.e. Categories). Gets the item that is currently selected in the combo box. Selected returns the selected item in the combo box as a TListBoxItem instance

TCheckBox

CheckBox shows a check box that can be either on (selected) or off (cleared). It is easy to add options to be checked or not. You can easily control the check/uncheck events by using OnChange event as below;

You can manually set TCheckBox on or off.

TSwitch

Switch shows a on/off button that can be either on  or off. It is easy to add options to be ON or OFF. You can easily control the check/uncheck events by using OnChange event as below;

You can manually set TSwitch on or off.

TStatusBar

The StatusBar is usually aligned at the bottom of a form, and displays information about an application as it runs. A status bar can display a size grip, so if your form is sizable, there is no need to add a TSizeGrip component as long as you have a status bar already. The status bar can also intercept hints.

close

Oh hi there 👋
It’s nice to meet you.

Sign up to receive awesome C++ content in your inbox, every day.

We don’t spam! Read our privacy policy for more info.

Related posts
C++Introduction to C++Learn C++

Learn To Use Break And Continue In Loops With C++

C++Introduction to C++Learn C++

Learn To Define And Use Arrays In C++

C++Learn C++Videos

Learn C++ With Back to Basics: Design Pattern by Mike Shah (CPPCon 2020) Video

C++Introduction to C++Learn C++

Discover Switch Statements in C++

Worth reading...
Top 6 C++ IDEs For Building Native Windows Apps In 2020
en_USEnglish