PRB: GPF When MultiColumn & LBS_OWNERDRAWVARIABLE in List Box (129494)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.0
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
- Microsoft Visual C++, 32-bit Editions 1.0
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 4.0
This article was previously published under Q129494 SUMMARY
A General Protection Fault (GPF) or Application Error occurs when
attempting to display a dialog box or FormView that contains a list box
with both the multicolumn (LBS_MULTICOLUMN) and ownerdraw, variable height
(LBS_OWNERDRAWVARIABLE) styles.
CAUSE
This is expected behavior. Windows, Windows NT, and Windows 95 do not
support multicolumn, ownerdraw, variable height list boxes.
RESOLUTION
For list boxes that are owner drawn and multicolumn, use the fixed height
style (LBS_OWNERDRAWFIXED).
For list boxes that are owner drawn and use the variable height style
(LBS_OWNERDRAWVARIABLE), do not use the multicolumn style
(LBS_MULTICOLUMN).
| Modification Type: | Major | Last Reviewed: | 12/1/2003 |
|---|
| Keywords: | kbprb KB129494 |
|---|
|