Programming languages have evolved well thanks to the development of the technologies, the availability of education in the technical sciences, and the continuing curiosity of the human mind about searching for and creating new things. Some of the most cutting-edge evolutions and changes to the way we structure and abstract our code were originally made in the C++ language. Since the late 1970s and early 1980s, C and later the C++ programming language and tooling – the compilers, IDEs, frameworks, and other tools – evolved along with CLANG standards such C++98, C++11, C++14, C++17, and more. The technology of the C++ compiler and IDEs have also grown in sophistication and capability as well as visually with the advent of Graphical User Interface (GUI) based operating systems such as Microsoft Windows and macOS.
The invention of elements such as controls which can act as buttons, drop-down lists, date pickers and almost every possible representation of things we could click, drag and push necessitated the creation of new types of GUI-centric libraries that we have come to refer to as Visual frameworks or User Interface Frameworks. Developers can design a graphical user interface, a ‘GUI’, and with the right kind of professional IDEs they can easily develop applications using those GUIs for all sorts of different platforms, for desktop and mobile. In C++ Builder, these GUI / UI frameworks are known as the VCL and FMX libraries.
Table of Contents
A Complete Guide To Visual Programming In C++
Originally, computer programs – or applications as tend to refer to them now – had user interfaces which were created by laboriously describing the controls and areas of the screens in a text or code format. It took a long time and was very hit and miss since the developer would need to repeatedly compile and run the program in order to see what the user interface looked like. Programs from that era tended to be designed for a very specific screen size, often in monochrome, and with very crude graphics if they even had any.
Thankfully, in the last 25 years or more of coding, you do not need to write arcane manual code to display UI elements. We have a set of special GUI libraries known as UI frameworks. They allow you develop fast, simple and very elegant applications with a lot of different kinds of GUI elements and modifiable properties, methods, events or actions. In C++ Builder, these GUI / UI frameworks are VCL and FMX libraries and in Microsoft Visual C++ these are in visual library. In Linux, there are FMX libraries (with Delphi) and GTK libraries which are used to design GUIs in codes. All the screens are (mostly) designed using the WYSIWYG paradigm – you literally drag the controls you want to use on a representation of your application’s screens or forms. You can immediately see what those screens will look like without having to run the program to do so. In the latest version of RAD Studio, you can also see what the application’s user interface will look like with a screen theme or style applied; all within the IDE at design time. It’s a huge time saver. Combine this with RAD Studio’s included “Multi-device preview”
The development of more powerful CPUs and the advent of dedicated GPUs ushered in a great evolution in operating systems and the graphical user interface or GUI. These allows us to develop faster and more beautiful apps in C++ and in other languages. GUI’s not only used in run time it is also used in design time, for example when you create a UI element, or when you edit its properties or methods, this both design time and run time GUI usage in programming is called Visual Programming. Now let’s see how we do visual programming in C++.
- How To Make A GUI In C++?
- Easily Learn To Create Powerful C++ Windows GUIs
- The Top 5 UI Design Alignment Tips For Your C++ App
- How To Design Multiple Platform App Layouts In C++
- How To Use The Comprehensive Form Properties In C++ VCL Apps
- How To Use Form Properties In C++ Cross Platform Apps
- What You Need To Know About Form Methods in C++ Applications
- How to Use Powerful Form Methods in Cross-Platform C++ Apps
- Learn to Master Every Screen Property in Your C++ Builder FMX Apps
- How To Create Gorgeous Transparent App Windows With C++
- This Is How To Make Your Non-Rectangular Apps Draggable
- How To Make Transparent FMX Applications With C++ Builder
- How To Use The HandleMessage Method In Windows Applications
- How To Define And Use An Idle Loop In A Windows Application
- How To Use ProcessMessages Method In Windows Applications
- How To Set Runtime Process Priority On Windows In A C++ App
A Complete Guide To Programming with Components In C++
RAD Studio and C++ Builder are a C++ IDE that allows users to install 3rd party components. These components allow coders to add features and functionality to their C++ apps without needing to write lots of new code. Easy to connect, easy to compile, easy to design and view tables and easy to handle many digital features. There are more than 100 C++ components covering everything from UI controls, mobile device sensor controllers, notification handlers, to sophisticated and powerful database toolsets. All components can be found here.
- Learn Basic Components in C++ Builder (Button, Label, Edit, Memo)
- Learn About Basic Windows Components In C++ Development (ComboBox, CheckBox, Switch, StatusBar)
- Learn About Basic Windows Components In C++ Development (StringList, Memo, ListBox, StringGrid)
- Quickly Learn About Basic Windows C++ Components (TrackBar, SpinBox, ScrollBar, SmallScrollBar, ArcDial)
- Quickly Learn About Basic Windows Components In C++ Development (Panel, Layout, ScaledLayout, FlowLayout, Splitter)
- Quick Look At Basic Color Components On Windows In C++ Builder (ColorButton, ColorBox, ColorCombBox, ColorListBox, ColorPicker, ColorPanel, ColorQuad)
- Easily Learn About Basic Windows Components In C++ Development (MainMenu, MenuBar, PopupMenu, ToolBar, SpeedButton, Conlusion)
- Learn to Use Timer Component in C++ Builder on Windows
- Everything You Need To Know To Create Menus In C++ Builder
- How To Create Pop-up Menu in C++ Builder?
- How To Make Visually Stunning Windows Charts In C++
- How To Use The Microsoft Edge Web Browser In A C++ App
- How To Use The MS Edge Browser In A Native Windows C++ App
- What Is An Accelerometer And How To Use It in C++?
- How To Make Use Of The Gyroscope Sensor in C++?
- This Is How To Use The VCL StringGrid Component In A C++ App
- This Is How To Use Shape Components In A Windows C++ App
Library and Component Development
- How To Make A New Windows VCL Static Library In C++
- How to Create a New Windows FMX Static Library In C++
- How to Create a New Windows VCL DLL In C++
- How to Create a New Windows FMX DLL In C++
- How to Create a New Windows VCL Component In C++
- How To Make A New Windows FMX Component In C++
- How to Create a New 64bits VCL Component
- How To Make A New 64bits FMX Component
- How To Set Properties Of A New Windows VCL Component In C++
- How To Make Properties For A New FMX Component In The C++ IDE
A Complete Guide To Programming with Effects In C++
A C++ IDE is specialized software that focuses on the process of designing, writing and building C++ applications on the Windows, MacOS, iOS and Android operating systems. A good IDE such as RAD Studio makes the process of software development easier and more efficient by combing several great features to help you develop applications as quickly as possible. One of the greatest features of the VCL and FMX UI frameworks is the ability to add various visual and animation effects to UI elements. Here are some of topics about these effects.
Introduction To Effects
- How To Add Shadow Effects To Your C++ Apps
- How To Make Controls Have A Glow Effect In C++?
- How To Add A Sepia Image Effect In Your Apps With No Code
- How To Add A No Code Emboss Effect To Images in Your Apps
- How To Make Transparent FMX Applications With C++ Builder
- This Is How To Add A Blur Effect To Images In C++
- How To Add A Reflection Effect In A C++ App?
- How To Use A Sharpen Effect in C+ Software On Windows?
- How To Make Images Have A Pixelate Effect In Your C+ App
A Complete Guide To Programming Media In C++
Another part of visual programming is video and graphic sound integration. C++ Builder has options to develop apps that interact with 2D or 3D graphics and different sound media types. It has a Media Player component which is a good way to play sounds or videos. You can easily create your own media player in C++ Builder – in fact there are a few demos and samples available which show you how exactly to do it. The included
TMediaPlayer component is a very good option to quickly add media playing capabilities to your applications.
Introduction To Audio and Media
- Learn How To Easily Record Sound In Powerful Modern C++ On Windows
- Easily Play Sounds In Modern C++ On Windows With This Snippets
- Learn To Develop Your Own Powerful Windows Media Player In C++ Builder
One of the strong parts of C++ Builder is its own built-in components and libraries, plus the support for a rich variety of 3rd-party components and libraries. The Get-It package manager is a good place for developers who want to release these kinds of components, libraries and tools (contact Embarcadero for more details on how to do this).
C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the award-winning VCL framework for high-performance native Windows apps and the powerful FireMonkey (FMX) framework for cross-platform UIs.
You can download the free C++ Builder Community Edition here: https://www.embarcadero.com/products/cbuilder/starter.
Professional developers can use the Professional, Architect or Enterprise versions of C++ Builder. Please visit https://www.embarcadero.com/products/cbuilder.