Fog Creek Software
Discussion Board




User Interface with C++

I'm currently teaching myself C++ but everything in the book is centered around console projects. Where do I look when I'm ready to start learning about user interfaces programmed with C++?

HeyCoolAid!
Tuesday, January 14, 2003

Go to msdn or look up Windows programming. There are so many ways to program GUI, of course, your best bet is a book...in fact the dubious Herb Schildt (remember him?) actually wrote some good starter books, you might look those up.

Sebastian M.
Tuesday, January 14, 2003

This might not be the answer you're looking for, but have you considered using a VB front end and a C++ back end. C++ books concentrate on console stuff (ie: focusing on the back end with the minimum of UI) probably because that's what it's best suited for.

Otherwise, the place I started was the "Scribble" tutorial in the MSDN which gets you up to speed with the document / view architecture, and a bit about optimising responses to WM_PAINT.

Better than being unemployed...
Wednesday, January 15, 2003


Uh, C++ doesn't have a gui.

I assume you're talking about Visual C++? (Winders?)

I'd recommend "Visual C++ 6 Programing" by Gilbert & McCarty. 

Sadly, most VC++ books are either reference works, specialized works ("OLEDB and ODBC developers guide in VC++ 6" for example) or tutorials.  The tutorials often take 200 pages to tell you how to write a "hello world" dialog.

But you've gotta start somewhere.  If you skim fast for the important things, you can burn through VC++6 programming in a couplea days.

After that, learn MFC.  MFC Visual C++ 6 by Mike Blasczak is pretty good.

After that, go learn the database stuff.  :-)

good luck - and tell us how it goes ...

Matt H.
Wednesday, January 15, 2003

Depending on your needs and who your target audience is, you could also look at things like QT and wxWindows.

Super
Wednesday, January 15, 2003

C++ in action http://www.relisoft.com/book/win32 has a good tutorial on win32 programming without MFC.

Ged Byrne
Wednesday, January 15, 2003

Hey thanks guys. When you're just at the first snowflake on the tip of an iceberg it's hard to know what you're getting yourself into! My "real job" is application development, and I know that at some point here I'll be expected to do it all in C++. I'm coming from more of a multimedia standpoint, so this is quite different for me. For the past few years I've been doing all of my programming in Macromedia Director. Too bad none of my classes or utility scripts will transfer over! Oh well, I'll just learn that much faster by having to re-implement them in C++. Thanks for your advice!

HeyCoolAid!
Wednesday, January 15, 2003

I stumbled over Charles Petzold's windows programming book the other day.

http://dotidom.net/development.html

Not sure how legal this is, though.

Ged Byrne
Wednesday, January 15, 2003

Not my day for accurate URLs

http://dotidom.net/development.php

http://www.relisoft.com/win32

Ged Byrne
Wednesday, January 15, 2003

*  Recent Topics

*  Fog Creek Home