C++C++11C++14C++17ComponentsLanguage FeatureLearn C++

Learn About Basic Windows Components In C++ Development (QuickLook 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.

About author

33+ years of coding with more than 30+ programming languages, mostly C++ on Windows, Android, Mac-OS, iOS, Linux and some other operating systems. Dr. Yilmaz Yoru was born in 1974, Eskisehir-Turkey. He graduated from the department of Mechanical Engineering of Eskisehir Osmangazi University in 1997. One year later he started to work in the same university as an assistant. He received his MSc and PhD degrees from the same department of the same university. He has married and he is a father of a son. Some of his interests are Programming, Thermodynamics, Fluid Mechanics and Artificial Intelligence. He also likes the graphical 2D & 3D design and high-end innovations.
Related posts
C++C++11C++14C++17Introduction to C++Learn C++

How To Access Individual Character Elements Of A C++ String

C++C++11C++14C++17Introduction to C++Learn C++

The Right Way To Access Character Elements Of A Wide String

C++Language FeatureLearn C++

You NEED to Learn To Use JSON (JavaScript Object Notation)

C++C++11C++14C++17Introduction to C++Learn C++

You Need To Know How To Correctly Remove Characters From C++ Strings

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