BUG: CB_SETTOPINDEX and CB_GETTOPINDEX Always Return Zero on Macintosh (201116)
The information in this article applies to:
- Microsoft Visual C++, Macintosh Cross-Development Addon 4.0
- Microsoft Visual C++, Macintosh Cross-Development Addon 4.0b
This article was previously published under Q201116 SYMPTOMS
On the Macintosh, the combo box messages CB_GETTOPINDEX and CB_SETTOPINDEX fail and always return zero (0).
CAUSE
There are no message handlers for these messages in the combo-box window procedure in the Windows Portability Library.
RESOLUTION
Obtain a pointer to the list box portion of the combo box, and use LB_GETTOPINDEX and LB_SETTOPINDEX instead.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Adam Kim, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 10/2/2003 |
---|
Keywords: | kbBug KB201116 |
---|
|