Programming Windows®, Fifth Edition (Developer Reference)

Author: Charles Petzold
4.4

Programming Windows®, Fifth Edition (Developer Reference)

4.4

Review Date:

Comments

by anonymous   2018-08-16
It appears to be a mess to you, because you are refusing to do the ground work, and learn about the anatomy of the system you are working with. Read the [WM_PAINT message](https://docs.microsoft.com/en-us/windows/desktop/gdi/wm-paint) documentation to understand, why your solution exhibits flicker. Better yet, get Petzold's [Programming Windows®](https://www.amazon.com/dp/157231995X). This is the most efficient way to learn Windows programming.
by anonymous   2018-05-14
This question (and potential answers) are not generally useful. Please take the time to properly abstract the problem you are trying to solve, instead of just asking how to fix your code. Helping you fix your code just means fixing more of your code. If you want to get a handle on programming the Windows API, get Petzold's [Programming Windows®, Fifth Edition](https://www.amazon.com/dp/157231995X).
by anonymous   2018-05-09
[About Painting and Drawing](https://msdn.microsoft.com/en-us/library/dd183315.aspx) explains all of this in exhaustive detail. Although no amount of formal (and informal) documentation can replace a good book. You'll want to get a copy of Petzold's [Programming Windows®, Fifth Edition](https://www.amazon.com/dp/157231995X).
by anonymous   2018-04-02
If you are accessing Windows directly (not using a framework), I recommend [*Programming Windows* by Petzold](https://www.amazon.com/Programming-Windows%C2%AE-Fifth-Developer-Reference/dp/157231995X). Also search the MSDN database (e.g. "MSDN C++ transfer window text").
by anonymous   2018-03-18
This is explained under the [Device Contexts](https://docs.microsoft.com/en-us/cpp/mfc/device-contexts) topic. In order to understand that document, you're going to have to get a firm grasp on the Windows API first, specficially [Device Contexts](https://msdn.microsoft.com/en-us/library/dd183553.aspx). If that doesn't help, consider getting a good book, e.g. Petzold's [Programming Windows®](https://www.amazon.com/dp/157231995X).
by anonymous   2018-03-12
@Chaost: In that case you need [Programming Windows®, Fifth Edition](https://www.amazon.com/dp/157231995X).
by anonymous   2018-03-12
Clearly, the [documentation](https://msdn.microsoft.com/en-us/library/windows/desktop/ms648045.aspx) suggests, that you do **not** want to use `LR_DEFAULTSIZE`. Besides, learning off of YouTube videos is most certainly not going to be a successful undertaking. Get a [good book](https://www.amazon.com/dp/157231995X) and take it from there.
by anonymous   2018-03-05
You need Petzold's [Programming Windows®, Fifth Edition](https://www.amazon.com/dp/157231995X). Guessing won't get you far.
by anonymous   2018-01-14
You can't learn Windows GUI programming by guessing. You need Petzold's [Programming Windows®, Fifth Edition](https://www.amazon.com/dp/157231995X).
by anonymous   2017-12-11
You need [Programming Windows®, Fifth Edition](https://www.amazon.com/dp/157231995X).