Article ID: 223078 - Last Review: October 15, 2002 - Revision: 1.1 FIX: DataGrid Column Widths Incorrect When Using MDAC 2.1This article was previously published under Q223078 On This PageSYMPTOMS
The width of a DataGrid column bound to an ADO field of type adBSTR is very narrow under MDAC 2.1 compared to the width of an adBSTR column under MDAC 2.0.
CAUSE
A bug fix in MDAC 2.1 changed the return value for GetColumnInfo calls on columns of type adBSTR. This fix exposed a limitation in the DataGrid control(MSDATGRD.OCX).
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why (http://support.microsoft.com/kb/194022/EN-US/ ) 194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed (http://support.microsoft.com/kb/194295/EN-US/ ) MORE INFORMATIONSteps to Reproduce BehaviorTo create this project, you must have MDAC 2.1 installed.
| Article Translations
|
Back to the top
