PRB: DBGrid Control Not Fully Functional in VC++
Article ID: 194654
Article Last Modified on 12/10/2003
APPLIES TO
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
This article was previously published under Q194654
SYMPTOMS
Certain DBGrid methods and properties that function properly when used in
Microsoft Visual Basic do not work properly when the DBGrid control is
inserted into a Microsoft Visual C++ project.
CAUSE
The DBGrid control is designed to work specifically in Microsoft Visual
Basic. The DBGrid control utilizes functionality only exposed by Visual
Basic's OLE control container.
RESOLUTION
The DBGrid control is only fully functional when used inside Microsoft
Visual Basic. Instead of using the DBGrid control, you can use the
Microsoft DataGrid Control 6.0 or the Microsoft FlexGrid control--these
controls are not dependent on Visual Basic for their functionality.
STATUS
This behavior is by design.
Keywords: kbdatabase kbprb kbctrl KB194654