PDA

View Full Version : Before Visual Studio ?



Fosfate
September 18th, 2008, 06:32 PM
How were GUI's for applications created before any of the Visual Studios existed?

Or, for that matter, using C++ in a different IDE than Visual Studio, how is it possible to create user interfaces for applications? Were there other plug-ins used? To be more specific, how would Photoshop be coded in C++?

I'm kind of interested in some of the history of programming before drag and dropping for controls existed.

LaRoza
September 18th, 2008, 06:37 PM
How were GUI's for applications created before any of the Visual Studios existed?

Or, for that matter, using C++ in a different IDE than Visual Studio, how is it possible to create user interfaces for applications? Were there other plug-ins used? To be more specific, how would Photoshop be coded in C++?

I'm kind of interested in some of the history of programming before drag and dropping for controls existed.

VS is a RAD tool. Dragging and dropping is good for quick simple apps. Useless for more complex apps.

Don't confuse VS with being a standard. Although GUI designers exist for many toolkits (see sticky under Programming Talk FAQ's), one can always code it manually.

This project (started by me ;)) has two GUI's both coded: https://code.launchpad.net/sysres

Photoshop would be built by a large team of people with experts working on the various pieces of it. http://library.gnome.org/devel/gtk-tutorial/stable/c39.html

Visual Studio is a Windows only application by the way. Nothing on Linux was built with it, and Linux has much better GUI's than Windows.

Some IDE's have support for designing GUI's (Netbeans I think for Java, and Monodevelop for G#). However, most do not because there is not dictator controlling the languages and toolkits. There are designers for the various toolkits http://ubuntuforums.org/showthread.php?t=772507 but they (and VS) never have the flexibility of hand coding.

Fosfate
September 18th, 2008, 06:52 PM
How would one manually code a GUI? Are there any web links on this?

edit: nevermind, I see GTK+

LaRoza
September 18th, 2008, 07:12 PM
How would one manually code a GUI? Are there any web links on this?

edit: nevermind, I see GTK+

Keep in mind most hand coded GUI's are abstracted away.

Having all the code in main() is not usually done, but it is the trivial way to demonstrate.

armageddon08
September 18th, 2008, 07:39 PM
Keep in mind most hand coded GUI's are abstracted away.

Having all the code in main() is not usually done, but it is the trivial way to demonstrate.

Yes.....dividing the program into modules/functions is a really good approach which increases program efficiency as well as makes it easier for debugging.

jespdj
September 18th, 2008, 08:11 PM
Microsoft Visual Studio has existed already for a very long time. When I started my job in 1996 I was writing software for Windows 3.1 and Windows 95 using Microsoft Visual C++.

LaRoza
September 18th, 2008, 10:04 PM
Microsoft Visual Studio has existed already for a very long time. When I started my job in 1996 I was writing software for Windows 3.1 and Windows 95 using Microsoft Visual C++.

1996? I was a kid then, but that is not a long time ;)

In terms of editors, Vi and then E**** have been around longer and are the editors of choice, not VS.

Idefix82
September 18th, 2008, 10:12 PM
Actually, until about 1999 or 2000, I don't remember, VS wasn't that widely used for commercial applications. Borland C++ Builder was generally accepted to be the more powerful IDE. They had their own GUI classes library, called the VCL, as opposed to Microsoft's MFC. Eventually, they stopped developing the C++ Builder but have now released a brand new version again, after some 8 or 9 years' break.

I guess in the old days, one wrote an application, which actually drew pixel by pixel the windows and controls and received interrupts from the mouse controller when, say, a mouse button was clicked.

dwhitney67
September 19th, 2008, 02:58 AM
In the old days, I developed under Unix systems. The "IDE" used was vi, and GUIs were developed using a combination of X-Motif and DataViews.

In the mid-90s I had heard of MFC and VS, but never took it seriously; perhaps this was because Windows couldn't run for more than a day without crashing.

LaRoza
September 19th, 2008, 03:21 AM
perhaps this was because Windows couldn't run for more than a day without crashing.
Ah the good old days... oh, wait, you can still get that for $150!

tinny
September 19th, 2008, 03:54 AM
Alot of people still code GUI's. I code my Java Swing GUIs because I want full flexibility. I have used GUI editors in the past and have found that at some point they all hit the wall eventually.