Is the GUI quick and easy without the .NET framework?

Is there a way to create graphical interfaces in the same quick and easy way that we could do in Visual Studio, but without the .NET Framework? I am looking for native Windows GUIs, so using Qt with Qt Creator is not an option (and it doesn't have to be cross-platform). Something with a Windows API using C ++ would be great ( not Delphi ).

I mean, do applications like WinSCP really have their own GUIs written entirely by hand?

+4
source share
7 answers

Given:

  • You do not want to use Qt
  • Do you want to use win api

The natural option is MFC . This is basically a pretty thin shell of the Win32 UI API, but VS has an MFC UI designer who will save you a lot of work (no need to manually set the coordinates of the controls, etc.).

+4
source

Another great option is C ++ Builder with VCL. This is very similar to WinForms (the design of which he clearly inspired) and much more productive than MFC, in my opinion.

+3
source

Since both Qt and MFC are wrappers around the native OS functions for managing windows and other OS utilities (which use the Win32 API under the hood and look completely native), there really is no reason to consider using MFC through Qt, since it is not more native than Qt. Either your definition of โ€œnativeโ€ is broken, or you did not tell us the whole story.

But there are thousands of reasons to consider Qt over MFC, since the latter is a complete pain to use, while the former is a simple, easy-to-use and still very flexible library (which aims in any way).

The only way that MFC can be called more native is that it comes from Microsoft (the same company that developed Windows). But that does not make him more native. This is the third party library. This third party worked for the same company as the party developing the Win32 API, but that does not make it specifically more tied to the Win32 API, since both of them were developed independently (and, of course, by different people).

How do Qt applications look and feel native on Windows?

+3
source

My vote is still on Qt.

I suspect the OP is really confusing "Native" with "deployable in single binary ". You can also achieve this with Qt by statically linking Qt dependencies . Contrary to popular belief, the LGPL also does not prohibit this.

Now, if the OP is looking for a "deployment in one super-strong> small binary" utorrent style, the answer will be different. A discussion of small binaries seems like a good place to view. I would say that there is a fee for increasing development time.

But I can not agree that Qt is not as native as MFC.

+3
source

In addition to MFC, you can take a look at the Windows Template Library .

+2
source

You can also take a look at wxWidgets .

+1
source

If you don't like Qt, there is always Gtk (or Gtkmm) for which there is glade .

-2
source

All Articles