SDK and API Errata

Poor Prior Planning Yields Piss Poor Results
Over the years and far too many projects, we have ran across some just plain wrong documentation in the SDK (Software Development Kit) from Microsoft. This documentation is commonly referred to as the Microsoft Developer Network, or MSDN. All of it is online from Microsoft, and most people get an update on CD whenever Microsoft feels like putting it out (three times a year or so). This is nice since hitting F1 brings up the docs.
Now we all know that programmers, as a class, do not write documentation, let alone good documentation. That is why there are people whose job it is to write these things. In most organizations that we've worked at over the last twenty years, this involves some sort of communication between staff members, and a review at some point (if not several) to verify the accuracy of the documentation.
However, it seems that Microsoft has a bad habit of not doing this. When they can throw 300+ people at the Visual C++ project, why can't there be CORRECT DOCUMENTATION? We're not talking good (it's boring stuff like WM_MOUSEMOVE) but just plain CORRECT.
But that's enough of a rant. Where possible, we've linked to the actual MSDN page on Microsoft.com for documentation in question.

Trackbars
The Trackbar or slider control has a lot of bugs in it:

Tree Controls
The tree control is a very interesting item in Windows - almost everything you do uses it. However, if you're trying to extended it beyond what you want it to do, you're going to be beating your head into the way. Also, we've uncovered some interesting features.

--


Updated: Thursday, Sep 18, 2008
Contents copyright © 1999-2003 by NOPcode.com and its subsidiaries. Reproduction in part or in whole prohibited unless explicitly granted. All information and products, be it documentation, essays, source code, programs, or installs, are provided "as-is" and neither the author nor NOPcode.com will be held responsible for any resulting damages, either physical or mental. No warranty is expressed nor implied. All rights reserved. All trademarks used are property of their respected companies. For further information contact .