DOCERR: GetPropIndex Returns -1 if Property Does Not ExistLast reviewed: July 22, 1997Article ID: Q119906 |
1.00 1.50
WINDOWS
kbprg kbdocerr
The information in this article applies to:
The Microsoft Foundation Classes (MFC), included with: - Microsoft Visual C++ for Windows, versions 1.0 and 1.5 The CVBControl class contains the member function GetPropIndex, which can obtain the index of a property once it is given the property's name. The documentation for the GetPropIndex function states that the return value is the index of the given property. However, the documentation does not point out that if the property does not exist in the VBX table of properties, then the return value from GetPropIndex is -1.
|
Additional reference words: 1.00 1.50 2.00 2.50 controls ctl
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |