answersLogoWhite

0

A Graphical User Interface (GUI) is, first and foremost, an event-driven program that runs on top of a command-line-driven operating system. Designing a GUI completely from scratch is not something to be undertaken lightly.

The easiest way to create a GUI is to use a framework. Visual C++ provides the Microsoft Foundation Classes (MFC) framework which allows you to build Windows applications that conform to the Windows GUI, whilst giving you the freedom to design your own elements that can interact with the GUI, even if they bear no resemblance to the standard GUI elements. However, you cannot alter the Windows GUI itself (globally, that is) as it is an intrinsic component of the operating system. Although you can manipulate GUI elements in real-time, this places a huge strain upon resources and will greatly impede the overall performance.

Under Linux you have far greater freedom because the command-line-driven kernel is completely separate from the GUI, thus you are free to design your own. This allows you to completely alter the GUI in any way you see fit. Again, a GUI framework is the easiest way to begin as it provides all the basic elements of a GUI, including message queues, memory management and multi-tasking -- all you really have to do is design the visual aspects of each element.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How do you make a GUI in C?

There are several ways to make a GUI. However, I'm not going to write an answer that would outline an entire GUI, as that would require many lines of code, and might be completely useless for the reader, as C is a universal language, but creating a GUI is almost always platform dependent, so one answer might not be the right answer for all possible scenarios. In the dark days of computer programming, GUIs were created by developers. Each developer had to create their GUI from scratch, and they didn't share. Then, along came GUI operating systems (OS). Soon after, people wanted to make their code cross-platform, and the concept of a "GUI toolkit" was born. There are several major toolkits out there, and I'd recommend starting from one of those points in learning how to write a GUI application. Popular toolkits include Qt, Gtk+, and OpenGL or SDL for more control over drawing instead of using system themes, such as video games.


Can a C program be written without main?

Yes. Windows GUI application are the tipical examples, their execution starts with 'WinMain', not 'main'


How can you run C programs on a Mac OS X?

You need the program Xcode which is on one of the Leopard install disks. If you want to make a new C-Application, select "new Project" then "console application" then "standard application".


How do you make a GUI interface In C Language without using gtk plus?

Use Xlib. Or Qt. Or WinApi.


What books are available for learning GUI programming?

Cross-Platform GUI Programming with wxWidgets, C++ GUI Programming, and Introduction to Python Programming and Developing GUI Applications with PYQT by H. M. Harwani.


Is GUI better in Java or C plus plus?

Neither Java nor C++ have a GUI as such -- the GUI is not part of the language specification. But comparing the GUIs for an IDE intended for Java with that of an IDE intended for C++ is hardly going to tell you which is better, since they are intended for completely different purposes. You might as well compare the GUI provided with Adobe PaintShop Pro against the GUI for Microsoft Word for all the good it does.


What actions can you perform with the dell diagnostics updated GUI?

B and C


What is the difference between vc and C which is the better?

It depends on what you are wanting to do. C is a very powerful and fast language. Visual C provides the same capabilities but also gives you built in functionality to easily create a GUI. If you don't need the GUI, conventional C is just as good.


What are the applications using C programming?

One application that uses c programming is Microsoft Visual Studio 2008.


How do you enable scroll bar in c language in normal environment?

Platform-dependent, GUI is not part of the standard C libraries.


Which GUI desktop is written in the C programming language and uses the gtk toolkit?

Gnome.


Which programming language should i preffer as a programmer?

C : For Embedded Applications which needs portability to different hardware platforms C++ : For High Level, GUI based Applications such as Simulation Software , Grid Display C# : For High Level, GUI based Applications such as Simulation Software , Grid Display VB : Most simple language for creating GUI using its built drawing toolbar ( believe me very very useful here) JAVA : Most powerful language ever! GUI, Embedded, Client -Server. This is the best in performance but not easy like C#.NET