+ 1
Button In C++
I was wondering how I can make a button in C++
3 Antworten
+ 1
I would recommend learning about Qt a popular choice to build smooth n fast GUI application easily.
But if you ask for pure cpp I remember using Windows.h in visual studio but I don't remember the exact code as I did drag n drop...
a reference to exact code that can be used in visual studio:
https://www.sololearn.com/Discuss/2672709/?ref=app
0
If you are on Linux, you can easily create buttons in C++ using Qt Creator, but if you are on Windows, you should use Visual Studio Code an C# winforms. C++ is no longer the preferred choice if you want to create desktop applications on Windows. Microsoft actually wants developers to use C# and not C++.
0
It's not about what Microsoft wants, it's about what can be done.
C++ Qt is cross platform and run across all major devices (not sure of phones) and Qt6 UI is modern, uses a Css syntax styling and with advanced widget like carousels etc