Creating graphical programs using VC++ 2012 [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 8 years ago.
Improve this question
I would like to make a graphical application using Visual Studio 2010. I am trying to use C++ and have the app run natively on windows 7 straight out of an exe. Please give me some suggestions for what libraries to include as well as general concepts or a help document for it.
I know the question is broad, but I am only looking for broad answers.
Thanks

The "basement of everything" is the windows "hello world"
and all the windows API and related usage.
You can easily start from here.
If you are interested in other platforms, the equivalent base forn *nix (and linux-) derived systems are the X11 API.
There are then framework libraries that wrap both Windows or X API exposing a same consistent interface, like
WxWidget
GTK
Qt
FLTK
Nana
Some are easier, some more complete, some other even overkill.
But it's mostly all about taste.

VC++ provides Windows Forms for GUI development and GDI+ for 2D graphics, built-in and full-fledged. What more do you need ?

Related

How do the cross-platform windows frameworks like Qt work? Are they wrappers around native API? [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 3 years ago.
Improve this question
Are QT/WxWidgets wrappers around respective native APIs' on linux, windows and Mac?
How are cross-platform windows framework built? How is cross-compiling done?
Thanks
Yes.
Sometimes they use lower level APIs to generate their own implementation of higher level APIs; like one that uses OpenGL to implement non-OS widget library. At other times they could adapt/reskin/modify OS widgets.
They are usually not cross-compiled. They just build and provide a similar API on multiple platforms, allowimg "client" code to compile with fewer changes on multiple platforms.

C++ for graphical software [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'm in the process of learning C++ and was wondering about the graphical implications of C++.
I know Chrome was developed in C++, but I don't see how to replicate it or create any sort of GUI.
How is Chrome programmed for the UI?
C++ doesn't include any graphical library in it. So you need to use any existing third-party library or API of operating system.
For example, there exists next graphical libraries, which supports C++:
MFC
Qt
wxWidgets
TCL/Tk
GTK+
Some of them are object oriented and some - not. Some of them are portable, some - not. Some of them are proprietary, some - not.
Also you always can use low-level API's such as Win32 API

How to create windows GUI in visual studio? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm sorry if the question is stupid and naive but still: how one can/should develop gui apps for windows in VS using native c++? I'd like to avoid using CLR and .NET stuff in the project. There are 2 obvious way: use heavy and monstrous MFC or code using API without any visual support, which seems also a bad choice for tricky ui. I wonder if there are other ways to create gui in VS?
You can use Win32 API which is a bit more complicated or use other external libraries that are easier such as gtk, wxWidgets, QT and others, but Win32 API is better because you will understand the operation of the windows and not have to download any library, but usually the codes made with Win32 API are higher than those made with external libraries. Using Win32 API you need to create the window class, event loop and other manually way.
I think QT is the easiest because the interfaces are created in graphical environments.
See these:
http://qt-project.org/
http://www.gtk.org/
And this tutorial about QT:
http://zetcode.com/gui/qt4/

C++ Basics to Starting a very simple GUI [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 just acquired Microsoft Visual studio 2013 for my college so you know what environment I'm using. I have never done any visual elements with c++, I have with many other easy languages such as LUA via the iPad or python, so on and so forth. Main question is, where do I start, what libraries do I use. Just some direction would be a huge help.
Thanks Guys,
Rain Terminal
Qt is a mature C++ library for cross-platform GUI development.
There is no standard way to create a GUI with C++.
Since you are on Visual Studio and Windows, you can use the methods offered by the system, functions like CreateWindow etc. There are plenty of examples online, Google it.
Visual Studio also offers the so called MFC (you have to start a new C++ project as MFC), that allow easy development of GUI by interacting directly with GUI elements (similar to Delphi IDE). But this is all for Windows only.
If you are looking for a cross-platform alternative, there is Qt as mentioned before.

PyQt vs PySide comparison [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I currently develop many applications in a Qt heavy C++/Python environment on Linux, porting to PC/Mac as needed. I use Python embedded in C++ as well as in a stand alone GUI. Qt is used fro xml parsing/event handling/GUI/threading and much more. Right now all my Python work is in PyQt and I wanted to see how everyone views PySide. I'm interested because it is in house and as such should support more components with hopefully better integration. What are your experiences?
I know this has been asked before, but I want to revive the conversation.
We were recently thinking about using PySide, but we haven't found any information about whether it is supported by py2exe. That's why we kept to PyQt. If you need to develop for Windows, it's safer to use good ol' PyQt :-)
As of PySide 1.0 beta (Qt 4.7.1), there is an official Windows installer that works. It doesn't include QtDesigner and other tools, only uic.
PySide currently does not run on Windows, which limits your capability. If you were developing on Linux and needed to avoid pure GPL, then PySide is a candidate.
From an API standpoint, I find the signal/slots capability feels more "Pythonic".