NO

Author Topic: Common Window with dialogs skeleton for newbies  (Read 2671 times)

kingboyD

  • Guest
Common Window with dialogs skeleton for newbies
« on: December 25, 2010, 02:11:33 AM »
This is a Borland C++ 4 sample from 1992, how to build a Window with dialogs. I used it with Visual Studio 2.0 as beginner before I got understandings in Foundation Classes and C++ objects. Now I used it for testing Pelles C - and it compiles without any warning or error.

This means, the code is portable for Borland, Microsoft and Pelles, without any changes.

It's an easy sample for beginners get their "own" Window programmed. I expand it for the version and program icon function (you can right click on the exe file and under properties you will see the version number etc.). I didn't finish the AboutBox() function. I didn't implement the function for show the icon when minimized. Maybe I will do this if I got some spare time.

I hope it's useful for beginners in C programming under Windows. It demonstrates how to open a file and select font and color.

It's up on you now...