windows appplication

hi everbody
I'am experienced somehow on c++ but I don't know any thing about windows application or GUI of c++. any suggestion for references (especially any of Herbert schildt if found concerning this matter)or any websites???????????????
thanks in advance
If you are going to program Windows, then Charles Petzold's book is must --

http://www.amazon.com/Programming-Windows-Microsoft-Charles-Petzold/dp/157231995X/ref=sr_1_2?ie=UTF8&s=books&qid=1278291196&sr=1-2

Although it's about 10 years old, it is still THE bible for Windows programming, and it has tons of examples with code that you will use in your own programs.

You can also learn from this online tutorial --

http://www.winprog.org/tutorial/

But Petzold's book is still an absolute MUST if you are serious about Windows programming.
Last edited on Jul
A couple months ago I decided to try my hand at learning C++ and then API coding for windows.

I will try to list the steps I have gone through to get up the learning curve.

1. Find good books on the subject:

I have five or six books on this subject but these two have
turnned out to be the best C and API learning experience for me.
I believe both books use C for all their examples.

a. Windows 98 Programming from the ground up
By: Herbert Schildt
ISBN: 0-07-882306-4

Mr. Schildt's attention to detail is outstanding
and he leaves no detail unexplained.
This book really covers how to generate the
skelton frame work to starts windows and
he then tells you step by step how to build
pices and parts such mouse operation, message box,
and every thing else. Excellent book for learning.

b. Programming Windows Fifth Edition
by: Charles Petzold
ISBN: 1-57231-995-X

Mr. Petzold attention is to how the Windows system
works and he writes some really great examples.
He starts from the basic skelton frame work and
take you through a very through understanding of the Windows system.

I am currently reading both of these books. Mr. Schildt focuses on
how the code works and you come away with a great understanding.
Mr. Petzold covers the code well but focuses on how it applies to
the Windows operation and he give you a lot of in site into how
the Windows platform works.

I found both of these book on Amazon's used books section.
I bought them as used - Good Condition and paid about
$4.00 per book plus $5.00 shipping per book and they were in almost new condition.

----------------------- Book Example Links -----------------------
All of the examples problems for both books are available either on disk or off the internet. This will save you a lot of typing time.

Mr. Schildt's examples are on the following web page.
http://www.mhprofessional.com/getpage.php?c=computing_downloads.php&cat=112
Go to near the bottom of the page and look for
Windows 98 Programming from the ground up

----- ----- ----- ----- ----- -----
Mr. Petzold books come with a fully loaded CD with all examples
plus and electronic copy of the book.

You can get the full set of examples from:
http://www.charlespetzold.com/books.html
Go about half way down the page:
To find the link for all the examples:
ftp://ftp.charlespetzold.com/ProgWin5/
There is also a link for the ZIP version of the
entire CD.

--------------------------------------------


2. Free Tools to learn Windows API programming using C or C++

Visual Studio 2010 Express Product Feature Chart


Visual C++ 2010 Express

All - Offline Install ISO image file

http://www.microsoft.com/express/Downloads/#2010-All

I ended up down loading the ISO image File for Visual Studio
2010 which includes
a. Visual Basic
b. Visual C#
c. Visual C++ 2010 Express
From the ISO file that you down load you can then
upack the file by burning it to a disk. Be sure you
don't just save it to a disk but you must pick the
burn image to disk option so it will unpack the ISO file.

I am using Visual C++ 2010 Express since both books listed
above also developed their code on the same type of
platform.


3. There is a data source (Microsoft SDK) of all commands, messages, data types and
how each call function operates. Plus there are some other
very interesting sections that have tools and other items.

I found this to be a great data source for how the call functions
work and what all the messages relate to. There appear to be
1000's of the API commands in this Window API world.

I downloaded the Windows SDK "Windows Server 2008 and .NET Framework 3.5" ISO File and burned it to a DVD.
http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=f26b1aa4-741a-433a-9be5-fa919850bdbf&displayLang=en

---------- In case you get a RunTime Error when installing the SDK do the following --------

To download the full package, rather than the bootstrapper, click on the link below: .NET Framework 3.5 Service Pack 1 (Full Package)

http://www.microsoft.com/downloads/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&DisplayLang=en

here is the path right to the exe if you just want to download and save:)

http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe

I hope this will help you get going.

Bill
Topic archived. No new replies allowed.