DOC: CImageList::DeleteObject Generates a C2039 ErrorLast reviewed: July 10, 1997Article ID: Q138785 |
2.10 2.20
WINDOWS NT
kbprg kbdocerr kbdocfix
The information in this article applies to:
SUMMARYUsing CImageList::DeleteObject() results in compiler error C2039: 'DeleteObject' : is not a member of 'CImageList'. MORE INFORMATIONThe documentation for Visual C++ versions 2.1 and 2.2 lists DeleteObject() as a member function of class CImageList. This is not the case. The correct function to use is DeleteImageList(). This function is documented in Visual C++ version 4.x, but it is not documented in version 2.1 or 2.2. Below is the documentation for the function CImageList::DeleteImageList: BOOL DeleteImageList( ); Return Value:
Nonzero if successful; otherwise 0.Remarks:
Call this function to delete an image list. |
KBCategory: kbprg kbdocerr kbdocfix
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |