473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Good Windows Tutorial/Book?

Alright, so I believe that I have a decently good grasp on Basic C++, but I cannot get into the Windows Programming, it makes no sense, is there anyone that can recommend a good C++ Windows API tutorial I would be extremely grateful. I googled "Windows API Tutorial, C++" but all I got weren't very good tutorials, and were hard to understand.
Nov 5 '07 #1
2 1317
oler1s
671 Expert 512MB
http://www.charlespetzold.com/The defacto author on Windows programming. For the old C style API, he stopped at the 5th edition of "Windows Programming".
Nov 5 '07 #2
weaknessforcats
9,208 Expert Mod 8TB
Alright, so I believe that I have a decently good grasp on Basic C++, but I cannot get into the Windows Programming, it makes no sense,
You will need a lot of practice to get good at this.

Here is Windows programming in a nutshell:
1) your programs have no main(). main() is buried inside Windows
2) you have WinMain() instead. Here you can define a Window and register it with Windows.
3) then while still in WInMain(), you can create the Window
4) signals are passed to your window via DispaatchMessage().
5) these signals end up in the WndProc() for your window
6) The WndProc() is a giant switch statement where each case handles a specific message. For example, WM_KEYDOWN would handle pressing any key on the keyboard. If this is of no interest to the window, then you have no case WM_KEYDOWN.
7) Windows can be invisible. Great place to keep track of your application variables.

Get a Windows programming textbook and type in (do not use the CD in the back) every example, compile and run it. Only by using the fingers will you get on top of this.

My guess is you will need about 2000 hours of practice to get really comfortable.
Nov 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: tamdino | last post by:
I'm looking for suggestions for a really good tutorial, either book or website, on MySQL and PHP. I'm not a newbie to programming, but I am a newbie to MySQL and PHP. Any suggestions would be...
5
by: John Ladasky | last post by:
Hi, folks, At the beginning of 2003, I was a frustrated computer user, and lapsed programmer, with problems to solve that screamed for programming. Thanks to the Python language and community, I...
1
by: Jan G. Thorstensen | last post by:
Hi. I'm newto Oracle but want to learn how to make a database and finally use it on my web site. Is there a good tutorial on the Internet somewhere, or could someone recommend a good starting...
20
by: Tmt353 | last post by:
Does anyone here know a good website for someone that wants to start programming?
12
by: D. Layman | last post by:
Hello group, After quite a long time of consideration, I'v finally decided to switch from Java to C. Given the condition that almost without any knowledge on C and 3 years expereince on java, ,...
11
by: Alan Silver | last post by:
Hello, I am a seasoned Classic ASP programmer who is interested in learning ASP.NET. I bought a book (Que's Special Edition Using ASP.NET) which is complete rubbish, and would like a...
10
by: Harley | last post by:
Hello, I was VERY blessed with a Christmas gift of visual studio .net from a man I hardly know who had heard of my plans of software developement. So I am probably the only person in the world who...
13
by: 1jasong | last post by:
Hello I am new to programming and want to know what is a good free compiler is. I am asking this because there are so many of them and I just want to start programming also a good website for...
4
by: Jim Aikin | last post by:
I'd like to learn JavaScript while sitting in my easy chair with my laptop on my lap. Option 1: Buy a wireless router so I can access the plethora of online- only tutorials from anywhere in the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.