Answer the question
In order to leave comments, you need to log in
So how to write a GUI in C++?
Here it would be desirable to write at least the simple program with GUI.
You also need the ability to use Boost in your GUI project.
Writing on WinAPI is nonsense, nothing is clear, the simplest empty window of 60 lines, lol, you can’t even add the simplest button there, heresy incomprehensible to me.
So why write this damned GUI in order to use C ++ and libraries, other heresy, all sorts of CLRs do not allow using C ++, why the hell then libraries and other mess, if the CLR will not allow MessageBox to be called in the usual way.
Excuse me for being emotional, at least leave C ++ with this nonsense.
Answer the question
In order to leave comments, you need to log in
At least the section - Graphic user interface
at https://en.cppreference.com/w/cpp/links/libs
technofractal.tk/gui-visual-studio-2017
#include<Windows.h>
using namespace System;
int main(array<System::String ^> ^args)
{
#pragma comment(lib, "User32.lib")
MessageBox(NULL, L"Hello World!", L"Hello World Box", 0);
return 0;
}
at least throw C ++ with this nonsense.
Use this https://ultralig.ht/
Previously it was called Awesomium ( https://habr.com/post/183826/)
where you can attach C++ functions to JS and get results from C++
once made a cool IDE for your assembler. UI was just made on this thing (html, css, js).
In js, add vuejs/angularjs or use jquery - not the point
Thanks to this, you can make a very cool interface. It just doesn't work in QT. It will take a lot of time to kill there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question