Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A simple C++ framework for Win32 Windows Applications? [closed]

Tags:

c++

winapi

Is there a simple/small framework (Other than .NET) which allows you to create windowed applications with C++ under Win32. Just like a little DLL I can include with my app.

It should have basic functions like creating a window , buttons , text edits and handling them.

like image 370
Kristina Brooks Avatar asked Dec 16 '09 18:12

Kristina Brooks


People also ask

What are Win32 applications?

Win32 is the 32-bit application programming interface (API) for versions of Windows from 95 onwards. The API consists of functions implemented, as with Win16, in system DLLs. The core DLLs of Win32 are kernel32.

How do I create a Win32 application in C++?

On the File menu, choose New and then choose Project. In the New Project dialog box, in the left pane, expand Installed > Templates > Visual C++, and then select Win32. In the middle pane, select Win32 Project. In the Name box, type a name for the project, for example, DesktopApp.

What is an hInstance?

hInstance is something called a "handle to an instance" or "handle to a module." The operating system uses this value to identify the executable (EXE) when it is loaded in memory. The instance handle is needed for certain Windows functions—for example, to load icons or bitmaps.


2 Answers

WTL is a set of lightweight templates that make writing Win32 windowing code quite easy (to the extend C++/Win32 can be easy).

like image 92
Franci Penov Avatar answered Oct 20 '22 00:10

Franci Penov


I would recommand Qt. It's an intuitive and user friendly framework. In addition it is cross platform if one day you want to deploy your app anywhere else.

Qt can be used through Visual Studio or through the QtCreator IDE installed with the framework (as well as QtDesigner [GUI editor]).

like image 39
Patrice Bernassola Avatar answered Oct 20 '22 01:10

Patrice Bernassola