Article ID: 129494
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 1.0 Professional Edition
- Microsoft Visual C++ 1.5 Professional Edition
- Microsoft Visual C++ 1.51
- Microsoft Visual C++ 1.52 Professional Edition
- Microsoft Visual C++ 1.0 Professional Edition
- Microsoft Visual C++ 2.0 Professional Edition
- Microsoft Visual C++ 4.0 Standard Edition
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).
Additional query words: listbox
Keywords: kbprb KB129494