How to make a form in c++ from scratch without winforms? [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to make desktop application with cpp and make a completely new form and I don't want to use winforms or any external addons just cpp.

When presenting output to screen you almost always have to call some kind of system call at some point. So the next closest thing to winforms is probably the winapi, but you could try some kind of graphical library for example sdl2 or sfml which encapsulates these calls with their own api. But you wouldn't have all these nice native windows buttons and tabviews and scrollbars and textboxes and ... only some basic shapes, images and pixel buffers

Related

How to overlay Chromium/Electron browser hosts on DirectX and OpenGL applications? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm trying to display info from the Spotify API as a overlay for DirectX and OpenGL games as there is a lot of people asking for it and I needed a project for school. I've got all the design elements working in a Electron application and I now just need to make it an overlay.
The application has a couple states: Playing, Paused, Control (frees cursor to allow in game song control with a couple buttons), Connect(for when audio is played via Spotify connect rather then on the host pc) and Stopped.
If possible I would also like to have the control state toggle with a key bind.
I've had a look online and can't find anything helpful, but I do know that Discord uses something like this. From what I can see, they use C++.
Edit: pergy commented with this: electron offscreen rendering which seems good enough.

Setup Openframework in Codeblock in Windows [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I would like to configure OpenFramework IDE in my codeblock. I want to build an app which prints the line on screen.
If the only thing you want is to just print a line of text you can use std::cout that prints to basic output onto your console window when the application runs. This is the most basic and easiest way to solve this.
If need to do something more complex than that, like program with GUI instead of console app, I would suggest you to use something other than OpenFrameworks, like f.e. Qt, that has a support for things like this. OpenFrameworks has the capability of doing all that, it just isn't it's main goal. You can download various addons that implement things like UI elemenets, but they are usually pretty simple.
Edit: I've just realized that by line you probably didn't mean a line of text...
Well, OpenFrameworks has no longer an Code Blocks support, you can still though download an older version from http://openframeworks.cc/download/older/

How to insert a video with gtkmm [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
i am looking for a way to insert a video in my software developped in C++ using the gtkmm library. But i did not see any documentation on this.
Does someone know how to put a video with the GTKmm library ?
Thanks a lot !
gtkmm itself is not a multimedia framework. However, you can use it together with multimedia frameworks, e.g. GStreamer (or gstreamermm, which is c++ wrapper for GStreamer). Here is an example of simple multimedia player written in gtkmm and gstreamermm: https://git.gnome.org/browse/gstreamermm/tree/examples/ogg_player_gtkmm

What is the best or most efficient way to develop a GUI in C++? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I know that there are WYSIWYG editors available for GUI development, but are those the best way?
I know that in HTML if you use a WYSIWYG editor like Dreamweaver, what it produces will work but it will produce bad code that causes the program to not be as efficient as it could be.
Is it the same deal with C++ and other compiled languages?
Edit: I'll be developing for Windows 7. I probably wont be needing anything fancy like progress bars, just basic things like buttons, tick boxes, and a place to display output. It will just be running CMD commands based on what the user has selected before running it and displaying CMDs output in the program.
I guess the question I specifically wanted answered is whether it is best to "hand code" the GUI like you would in HTML, or if WYSIWYG editors are the way to go.

Remote program control using winapi [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
How I can remotely control a GUI program using winapi?
I need to open skype or icq and click on the right contact and then read the last message. There's a program in VS spy++, but if you want to trace window messages, you need to remotely control spy++. So the problem is how can you remotely control a program and the other thing, where can you find application codes.
The White framework hides a lot of the details of UI automation, and you may find it easier to use than raw UI Automation.