DOCERR: Don't Call Destroy Function on Loaded Cursor or IconLast reviewed: July 23, 1997Article ID: Q84779 |
3.10
WINDOWS
kbprg kbdocerr
The information in this article applies to:
SUMMARYThe "Microsoft Windows Software Development Kit: Programmer's Reference, Volume 2: Functions" manual contains an error regarding the proper use of the DestroyCursor and DestroyIcon functions. This error is repeated a number of times throughout the manual. This article lists the various changes required to correct the error. The manual states that when an application loads a cursor using the LoadCursor function, it should delete the cursor using the DestroyCursor function. Likewise, the manual states that when an application loads an icon using the LoadIcon function, it should delete the icon using the DestroyIcon function. These two statements are incorrect. DestroyCursor is used only on cursors created with the CreateCursor function and DestroyIcon is used only on icons created with the CreateIcon function. To address this problem, make the following four changes to the "Microsoft Windows SDK: Programmer's Reference, Volume 2: Functions" manual:
|
Additional reference words: 3.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |