Click here to Skip to main content
Click here to Skip to main content

ATL Grid control

, 6 Feb 2000
Rate this:
Please Sign up or sign in to vote.
A grid control for displaying tabular data, based on Chris Maunder's grid control
  • Download executable files - 100 Kb
  • Download source files - 131 Kb

    Sample Image - gridctrl_atl.gif

    <!-- Article Starts -->

    This paper is based on a previous work by Chris Maunder (copyright © 1998-1999) and is copyright © 1999-2000 Mario Zucca.

    Foreword by Chris Maunder

    "I first posted my Grid control back in february of '98. At the time I needed a grid for a project I was working on, but could not afford to buy the commercial versions that were on offer at the time. So, using Joe Willcoxson's grid as a start, I proceeded to write my own, and two years later I'm still writing it! One of the biggest requests I've had is to wrap the class in a COM wrapper, or provide an ATL version. I've never had the time nor the energy for such a venture, so when Mario sent me his first prototype I was stunned that someone had spent such a large amount of time understanding the monstrosity I had created, but also extremely glad that someone had the time and energy I was lacking to take the grid to an audience I'd previously been unable to reach. Over the past few months I've seen Mario overcome many hurdles and I think his first release version is a commendable effort.

    Thanks Mario!" 

     

    Introduction
    Overview
    Porting
    Data types
    Improvements
    Technical details
    Conclusion

    <!-- Article Starts -->

    Introduction

    After spending a lot of days studying the COM architecture and Activex controls, I started to develop several components using Visual Basic 5 and ATL version 2 .

    After one year of COM work I thought it was about time to embrace a nice challenge: writing an Activex control so complex to force me to study the most difficult details of COM and Windows. In this state of mind, I found Chris' grid and I started to work on it.

    I read his code so many times I learnt it by heart: pens, pencils, fonts have been my nightmare for several days. I have been using GDI objects only for study or for joke until that day, but I’ve never entered in all the details of Windows graphical world.

    Spending my nights among coffee, MSDN@, MFC and many tryouts I reached some knowledge of Device Contexts and other nice little things, so I could start translating Chris' grid to an Activex control.

    The final goal was to develop a simple, fast, reliable and, basically, lightweight grid. There are a lot of professional grids on the market and they offer plenty of functionalities, I wanted to realize one, maybe not so professional, but easy and lightweight. This is the reason I chose to abandon MFC for ATL.

    The result has been a great experience that makes me learn the details of the inner workings of Activex controls, Windows graphical world and ATL classes. Plus I have now a component of 150 Kb with almost every functionalities of Chris' grid.

    In this paper I will describe the strategies I followed in the process of porting the grid, the main problems I met and the solutions I devised for them. I will present a collection of books that helped me on the way.

    Through this experience I wrote a lot of beginner-level papers about COM, ATL and Visual Basic.

    Finally big thanks to Chris Maunder, author of a very light, simple and reliable grid.

    Thank you, Chris.

    Overview

    The big moment has come at last: it’s running.

    After a lot of working days now there's a functional version of the grid.

    This doesn’t mean the work is finished! I think there are a lot of annoying bugs currently living happily in the code (even though it's been checked by Numega BoundsChecker ®).

    I think the code can be the right starting point to improving implementations.

    It is still not optimized: any help of a good profiler would be appreciated.

    And now the good news:

    • the grid is running and it has the main functions.
    • I looked the depths of Windows: pens, brushes, handles, windows and messages; I had an experience in a complex and real project using COM.

    Porting.

    The first work was choosing a right strategy for the porting

    In fact Chris’ grid is a very complex object (about 5000 code's lines) and I think it is hard to convert all the code in ATL in only one passage even if it didn’t depend on MFC.

    I created an ActiveX Control starting from ATL with MFC's support, so I made it compatible with the existing project and I could compile the code without too much hard work. The first excellent result was running the Chris’ grid in a Visual Basic form.

    Another important choice was the kind of container the grid should support: I liked to develop a OC96 control; and then make it a windowless control with quick activation and drawing optimization. This is the main reason I used the wizard to create an ATL control, Windows Only in this release.

    When I saw the grid running in a VB form I was very satisfied. But I knew the goal was still far away.

    I created the control, took the Chris’ code in my project, created another grid like the test’ one in the original project and then I deleted all the MFC calls.

    I chose to call directly the Windows APIs for two reasons:

    Didactics: I like to dive into the Windows APIs and the functionalities of the graphic's details (gdi32.dll).

    Performance: my last target is to create a component with the lowest overhead possible, so I need to understand every line of code.

    Data types

    The data types used in the code and their use in the control are very important: in fact Windows uses handles for windows, pens, brushes, fonts, colors, … and the programmer has to use these objects and call the API . COM clients and scripting languages prefer to make use of COM interfaces and dispinterfaces: IFontDisp, IPictureDisp, and so on. For example, an HFONT (handle to a font object used in the device context) used with the Windows APIs is mapped (as OLE) in a pointer to the IFontDisp interface, which is the IDispatch version of the IFont interface.

    In the grid I had to call the Windows graphic APIs also for color, string, font and bitmap, so I preferred to use the standard Windows datatypes and leave the datatype casting to the Automation interface.

    Also strings are important in this project: the OLE world likes more BSTR, UNICODE strings (you can find all the details in the technical documentation).

    On the WEB there are many classes that permit to use BSTR hiding details (often boring): there is software which implements an interface close to the MFC CString class making easy the porting .

    Also the C++ standard library can become an important support with the <string> template class.

    So the better choice is to use one of VC++ compiler classes: _bstr_t. This class is free, supported and easy to use. This is what I needed in my simple development.

    Now I had to take MFC out from the project: I removed CString, CPen, CRect, CMap and especially CWinApp and MFC*.dll.

    From 1 MB, to some KB.

    After removing MFC from the project, I had to make the grid a COM object, so I had to define the interfaces, the ingoing one and the outgoing one with the events.

    I agree with all the authors of COM books saying that the definition of the interfaces is the starting point of any activity. In this case, Chris had already defined the interface and my work has been to make them Automation compatible, so I realized a dual interface IGrid and then I defined methods and properties instead of functions.

    Improvements

    The result is an ActiveX Control (140 Kb) which implements a lot of the functions (functionalities) of Chris’ grid except print, print preview, integration with the clipboard and drag and drop, but now I can do all the actions I need using a simple grid.

    Other functions to improve:

    graphic side:

    • merging of the cells
    • moving of cells and columns
    • setting different types of cell

    end user side:

    • OLE integration (clipboard, drag and drop)
    • print and print preview
    • using bound mode
    • saving and loading the grid as XML format

    design side:

    • use of design patterns to make the grid generic

    Technical details

    CProxy_IGridEvents is the proxy class and the CGrid fires the methods in the IGridEvents interface. The wizard generated the proxy, but it had a problem. After many crashes, I looked at the VB code generated by the wizard: in details, there was a VARIANT_BOOL parameter (Cancel), defined as pointer in BeforeEdit and ValidateEdit methods of the interface: VB crashed because that parameter was passed byVal.

    So I changed the code generated by the wizard as follow:

    1. pvars[0].vt = VT_BOOL | VT_BYREF;
    2. pvars[0].pboolVal = Cancel;

    and it runs.

    Grid’s Interfaces definition 

    Globals typedef definitions

    typedef enum
    {
    GVL_NONE = 0,
    GVL_HORZ = 1,
    GVL_VERT = 2,
    GVL_BOTH = 3
    } grGridLines;
    
    typedef enum
    {
    grPictOrientationLeft = 0,
    grPictOrientationCenter = 1,
    grPictOrientationRight = 2
    } grPictOrientation;
    
    // Horizontal Text Alignment
    typedef enum
    {
    grOrizAlignLeft = 0, //DT_LEFT
    grOrizAlignRight = 1, //DT_RIGHT
    grOrizAlignCenter = 2 //DT_CENTER
    } grOrizontalAlignment;
    
    // Vertical Text Alignment
    typedef enum
    {
    grVertAlignBottom = 0, //DT_BOTTOM
    grVertAlignTop = 1, //DT_TOP
    grVertAlignCenter = 2 //DT_VCENTER
    } grVerticalAlignment;
    
    // Breaking Text words
    typedef enum
    {
    grBreakingTWNormal = 0, //nor DT_END_ELLIPSIS nor DT_WORDBREAK
    grBreakingTWWordBreak = 1, //DT_WORDBREAK
    grBreakingTWEndEllipsis = 2 //DT_END_ELLIPSIS
    } grBreakingTextWords;
    
    // Breaking Text line
    typedef enum
    {
    grTextSingleLine = 0, //DT_SINGLELINE
    grTextNoLimit = 1 // Toggle DT_SINGLELINE
    } grTextLine;
    

    The IGridCell defines the behaviour of the cells:

    interface IGridCell : IUnknown
    {
    [propget, helpstring("property PictureOrientation")] <BR>HRESULT PictureOrientation([out, retval] grPictOrientation *pVal);
    [propput, helpstring("property PictureOrientation")] <BR>HRESULT PictureOrientation([in] grPictOrientation newVal);
    [propget, helpstring("property Text")] <BR>HRESULT Text([out, retval] BSTR *pVal);
    [propput, helpstring("property Text")] <BR>HRESULT Text([in] BSTR newVal);
    [propget, helpstring("property Font")] <BR>HRESULT Font([out, retval] IFontDisp* *pVal);
    [propput, helpstring("property Font")] <BR>HRESULT Font([in] IFontDisp* newVal);
    [propget, helpstring("Horizontal Alignment")] <BR>HRESULT HorizontalAlignment([out, retval] grOrizontalAlignment *pVal);
    [propput, helpstring("Horizontal Alignment")] <BR>HRESULT HorizontalAlignment([in] grOrizontalAlignment newVal);
    [propget, helpstring("Vertical Alignment")] <BR>HRESULT VerticalAlignment([out, retval] grVerticalAlignment *pVal);
    [propput, helpstring("Vertical Alignment")] <BR>HRESULT VerticalAlignment([in] grVerticalAlignment newVal);
    [propget, helpstring("Breaking Text Words")] <BR>HRESULT BreakingTextWords([out, retval] grBreakingTextWords *pVal);
    [propput, helpstring("Breaking Text Words")] <BR>HRESULT BreakingTextWords([in] grBreakingTextWords newVal);
    [propget, helpstring("property Picture")] <BR>HRESULT Picture([out, retval] IPictureDisp* *pVal);
    [propput, helpstring("property Picture")] <BR>HRESULT Picture([in] IPictureDisp* newVal);
    };
    

    The IGrid interface:

    interface IGrid : IDispatch
    {
    // Stock properties
    [propputref, bindable,requestedit, id(DISPID_FONT)] <BR>HRESULT Font([in]IFontDisp* pFont);
    [propput, bindable,requestedit, id(DISPID_FONT)] <BR>HRESULT Font([in]IFontDisp* pFont);
    [propget, bindable,requestedit, id(DISPID_FONT)] <BR>HRESULT Font([out, retval]IFontDisp** ppFont);
    [propget, id(29), helpstring("property BackColor")] <BR>HRESULT BackColor([out, retval] OLE_COLOR *pVal);
    [propput, id(29), helpstring("property BackColor")] <BR>HRESULT BackColor([in] OLE_COLOR newVal);
    [propget, id(1), helpstring("Imposta/ legge l'image per l'item specificato")] <BR>HRESULT Image([in] int Row,[in] int Col, [out, retval] short *pVal);
    [propput, id(1), helpstring("Imposta/ legge l'image per l'item specificato")] <BR>HRESULT Image([in] int Row,[in] int Col, [in] short newVal);
    [propget, id(2), helpstring("Imposta/ legge il testo per l'item specificato")] <BR>HRESULT Text([in] int Row,[in] int Col, [out, retval] BSTR *pVal);
    [propput, id(2), helpstring("Imposta/ legge il testo per l'item specificato")]<BR> HRESULT Text([in] int Row,[in] int Col, [in] BSTR newVal);
    [id(3), helpstring("method InsertRow")] <BR>HRESULT InsertRow([in] int Row,[in] BSTR caption);
    [propget, id(4), helpstring("Imposta/ritorna il numero di righe nella griglia")] <BR>HRESULT RowCount([out, retval] int *pVal);
    [propput, id(4), helpstring("Imposta/ritorna il numero di righe nella griglia")] <BR>HRESULT RowCount([in] int newVal);
    [propget, id(5), helpstring("Imposta/Ritorna il numero di colonne nella grid")] <BR>HRESULT ColumnCount([out, retval] int *pVal);
    [propput, id(5), helpstring("Imposta/Ritorna il numero di colonne nella grid")]<BR> HRESULT ColumnCount([in] int newVal);
    [propget, id(6), helpstring("Imposta/ritorna l'altezza della riga specificata")] <BR>HRESULT RowHeight([in] int nRow, [out, retval] int *pVal);
    [propput, id(6), helpstring("Imposta/ritorna l'altezza della riga specificata")] <BR>HRESULT RowHeight([in] int nRow, [in] int newVal);
    [propget, id(7), helpstring("Imposta/ritorna la larghezza della colonna")] <BR>HRESULT ColumnWidth([in] int Col, [out, retval] int *pVal);
    [propput, id(7), helpstring("Imposta/ritorna la larghezza della colonna")]<BR> HRESULT ColumnWidth([in] int Col, [in] int newVal);
    [propget, id(9), helpstring("property CellFont")] <BR>HRESULT CellFont([in] int Row,[in] int Col, [out, retval] IFontDisp* *pVal);
    [propput, id(9), helpstring("property CellFont")] <BR>HRESULT CellFont([in] int Row,[in] int Col, [in] IFontDisp* newVal);
    [id(11), helpstring("method AutoSize")] HRESULT AutoSize();
    [propget, id(12), helpstring("Allow Column resizing")] <BR>HRESULT ColumnResizing([out, retval] VARIANT_BOOL *pVal);
    [propput, id(12), helpstring("Allow Column resizing")] <BR>HRESULT ColumnResizing([in] VARIANT_BOOL newVal);
    [propget, id(13), helpstring("property RowResizing")] <BR>HRESULT RowResizing([out, retval] VARIANT_BOOL *pVal);
    [propput, id(13), helpstring("property RowResizing")] <BR>HRESULT RowResizing([in] VARIANT_BOOL newVal);
    [propget, id(14), helpstring("property GridLines")] <BR>HRESULT GridLines([out, retval] grGridLines *pVal);
    [propput, id(14), helpstring("property GridLines")] <BR>HRESULT GridLines([in] grGridLines newVal);
    [propget, id(15), helpstring("property Editable")] <BR>HRESULT Editable([out, retval] VARIANT_BOOL *pVal);
    [propput, id(15), helpstring("property Editable")] <BR>HRESULT Editable([in] VARIANT_BOOL newVal);
    [propget, id(16), helpstring("property FixedRows")] <BR>HRESULT FixedRows([out, retval] int *pVal);
    [propput, id(16), helpstring("property FixedRows")] <BR>HRESULT FixedRows([in] int newVal);
    [propget, id(17), helpstring("property FixedCols")] <BR>HRESULT FixedCols([out, retval] int *pVal);
    [propput, id(17), helpstring("property FixedCols")] <BR>HRESULT FixedCols([in] int newVal);
    [id(18), helpstring("method AutosizeColumn")] <BR>HRESULT AutosizeColumn([in] int col);
    [id(19), helpstring("method AutosizeRow")] <BR>HRESULT AutosizeRow([in] int row);
    [propget, id(20), helpstring("property CellEnabled")] <BR>HRESULT CellEnabled([in] int row,[in] int col, [out, retval] <BR>VARIANT_BOOL *pVal);
    [propput, id(20), helpstring("property CellEnabled")] <BR>HRESULT CellEnabled([in] int row,[in] int col, [in] VARIANT_BOOL newVal);
    [propget, id(21), helpstring("property AllowSelection")] <BR>HRESULT AllowSelection([out, retval] VARIANT_BOOL *pVal);
    [propput, id(21), helpstring("property AllowSelection")] <BR>HRESULT AllowSelection([in] VARIANT_BOOL newVal);
    [propget, id(22), helpstring("property ListMode")] <BR>HRESULT ListMode([out, retval] VARIANT_BOOL *pVal);
    [propput, id(22), helpstring("property ListMode")] <BR>HRESULT ListMode([in] VARIANT_BOOL newVal);
    [propget, id(23), helpstring("property CurrentRow")] <BR>HRESULT CurrentRow([out, retval] int *pVal);
    [propput, id(23), helpstring("property CurrentRow")] <BR>HRESULT CurrentRow([in] int newVal);
    [propget, id(24), helpstring("property CurrentCol")] <BR>HRESULT CurrentCol([out, retval] int *pVal);
    [propput, id(24), helpstring("property CurrentCol")] <BR>HRESULT CurrentCol([in] int newVal);
    [id(25), helpstring("method DeleteRow")] HRESULT DeleteRow([in] int row);
    [propget, id(26), helpstring("property HeaderSort")] <BR>HRESULT HeaderSort([out, retval] VARIANT_BOOL *pVal);
    [propput, id(26), helpstring("property HeaderSort")] <BR>HRESULT HeaderSort([in] VARIANT_BOOL newVal);
    [propget, id(27), helpstring("property SingleRowSelection")] <BR>HRESULT SingleRowSelection([out, retval] VARIANT_BOOL *pVal);
    [propput, id(27), helpstring("property SingleRowSelection")] <BR>HRESULT SingleRowSelection([in] VARIANT_BOOL newVal);
    [id(28), helpstring("method DeleteColumn")] HRESULT DeleteColumn([in] int col);
    [propget, id(30), helpstring("property FixedBackColor")] <BR>HRESULT FixedBackColor([out, retval] OLE_COLOR *pVal);
    [propput, id(30), helpstring("property FixedBackColor")] <BR>HRESULT FixedBackColor([in] OLE_COLOR newVal);
    [propget, id(31), helpstring("property TextColor")] <BR>HRESULT TextColor([out, retval] OLE_COLOR *pVal);
    [propput, id(31), helpstring("property TextColor")] <BR>HRESULT TextColor([in] OLE_COLOR newVal);
    [propget, id(32), helpstring("property TextBackColor")] <BR>HRESULT TextBackColor([out, retval] OLE_COLOR *pVal);
    [propput, id(32), helpstring("property TextBackColor")] <BR>HRESULT TextBackColor([in] OLE_COLOR newVal);
    [propget, id(33), helpstring("property Color")] <BR>HRESULT Color([out, retval] OLE_COLOR *pVal);
    [propput, id(33), helpstring("property Color")] <BR>HRESULT Color([in] OLE_COLOR newVal);
    [propget, id(34), helpstring("property FixedTextColor")] <BR>HRESULT FixedTextColor([out, retval] OLE_COLOR *pVal);
    [propput, id(34), helpstring("property FixedTextColor")] <BR>HRESULT FixedTextColor([in] OLE_COLOR newVal);
    [propget, id(35), helpstring("property CellFgColor")] <BR>HRESULT CellFgColor([in] int Row, [in] int Col, [out, retval] OLE_COLOR *pVal);
    [propput, id(35), helpstring("property CellFgColor")] <BR>HRESULT CellFgColor([in] int Row, [in] int Col, [in] OLE_COLOR newVal);
    [propget, id(36), helpstring("property CellBgColor")] <BR>HRESULT CellBgColor([in] int Row, [in] int Col, [out, retval] OLE_COLOR *pVal);
    [propput, id(36), helpstring("property CellBgColor")] <BR>HRESULT CellBgColor([in] int Row, [in] int Col, [in] OLE_COLOR newVal);
    [id(37), helpstring("method SimpleConf")] HRESULT SimpleConf();
    [propget, id(38), helpstring("property Cell")] <BR>HRESULT Cell([in] int Row,[in] int Col, [out, retval] IGridCell* *pVal);
    [propput, id(38), helpstring("property Cell")] <BR>HRESULT Cell([in] int Row,[in] int Col, [in] IGridCell* newVal);
    [propget, id(39), helpstring("property ToolTip")] <BR>HRESULT ToolTip([out, retval] VARIANT_BOOL *pVal);
    [propput, id(39), helpstring("property ToolTip")] <BR>HRESULT ToolTip([in] VARIANT_BOOL newVal);
    [id(40), helpstring("method Refresh")] HRESULT Refresh();
    [id(41), helpstring("method SelectAllCells")] HRESULT SelectAllCells();
    [propget, id(42), <BR>helpstring("KeepTab specifies if TAB send or not the Focus to the next control")] <BR>HRESULT KeepTab([out, retval] VARIANT_BOOL *pVal);
    [propput, id(42),<BR>helpstring("KeepTab specifies if TAB send or not the Focus to the next control")] <BR>HRESULT KeepTab([in] VARIANT_BOOL newVal);
    };
    

    and the events (outgoing interface) for the grid:

    dispinterface _IGridEvents
    {
    properties:
    methods:
    [id(1), helpstring("Fired before start Cell edit")] <BR>HRESULT BeforeEdit(int Row,int Col,VARIANT_BOOL* Cancel);
    [id(2), helpstring("Fired before exit Cell edit")] <BR>HRESULT ValidateEdit(int Row,int Col,VARIANT_BOOL* Cancel);
    [id(3), helpstring("Fired after Cell edit end")] <BR>HRESULT AfterEdit(int Row,int Col);
    [id(4), helpstring("Fired before enter in a Cell")] <BR>HRESULT EnterCell(int Row,int Col);
    [id(5), helpstring("Fired after exit from a Cell")] <BR>HRESULT LeaveCell(int Row,int Col);
    [id(6), helpstring("Fired after click on a fixed column")] <BR>HRESULT ColumnClick(int Col);
    [id(7), helpstring("Fired after click on a fixed row")] <BR>HRESULT RowClick(int Row);
    [id(8), helpstring("Fired before a selection changed")] <BR>HRESULT SelChanging();
    [id(9), helpstring("Fired after a selection changed")] <BR>HRESULT SelChanged();
    };
    

    Conclusion

    I’ve been working in software development for ten years, six years in Windows world and three years in COM and C++, and today I can say that this experience has been really great even if hard!

    Developing the grid, I looked at arguments I rarely have the occasion to study in depth in my job and I enjoyed myself also posting e-mails to Chris who is so patient in testing beta versions, indicating bugs and encouraging me to finish this work.

    If someone is interested in this work or likes to help me developing functions (functionalities) or has suggestions post me an e-mail: my address is Mario@genoavalley.org

  • License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    Share

    About the Author

    Mario Zucca
    Web Developer
    Italy Italy
    No Biography provided

    Comments and Discussions

     
    Generalerror in example gridctrl_atl_exe.zip PinmemberRiderV6-Mar-09 22:40 
    QuestionHelp Me Please Pinmembercmrana6-Jun-08 0:23 
    Generalidea need on OnDraw functionality PinmemberShanmuga Sundar.V9-Mar-07 3:34 
    Hi....

    Actually i had created a animated ATL control component. I implemented the drawing code in OnDraw function, the problem is when i import the dll into sample application. The animation start to run. But, i need the animation should be excuted only when i excute the sample application. how can i implement this.
     
    i mean when i drag the control on the dialog. Its should appear empty (white colored). when i excuted the application then the animation should be displayed on the control window region
     
    Could you please help me in this regards.

     
    V.Shanmuga Sundar M.Sc.,
    Senior Software Engineer,
    Chennai.

    GeneralRe: idea need on OnDraw functionality PinmemberJim Phoenix8-Oct-07 23:04 
    QuestionHow can I copy the selected cells to the EXCEL sheet? Pinmemberkimiyo27-May-06 3:19 
    Questioninteresting feature like QuickBooks..??? Pinmemberana_v12313-Jun-05 22:57 
    Generalsome errors Pinmemberlhongliangi29-Dec-04 23:58 
    GeneralRe: some errors Pinmemberlbking117-Jun-07 17:30 
    Generalhelp me~~~~~ Pinmemberregale22-Oct-04 18:56 
    GeneralHosting from .NET Pinmemberdmitri769-Jul-04 10:58 
    GeneralHierarchial TreeList needed Pinmember1of318-Jun-04 20:25 
    GeneralFormatted cells PinmemberAppstmd2-Jan-04 7:45 
    GeneralCProxy_IGridEvents Pinsussgelbert27-Jun-03 5:03 
    GeneralRe: CProxy_IGridEvents PinmemberAncient Dragon3-Jul-03 15:30 
    GeneralGetClientRect in CGrid::OnDraw Pinmembertorija18-Jun-03 22:23 
    GeneralRe: GetClientRect in CGrid::OnDraw Pinmemberwangzengzhi-20001-Sep-05 18:03 
    GeneralPrinting Grid PinsussNiren6-Jun-03 19:46 
    Generalsome erro Pinmemberlzp29-May-03 23:52 
    GeneralMerge cells PinmemberAngus Comber7-Oct-02 6:40 
    GeneralRe: Merge cells Pinmemberdancingfish25-Aug-10 4:16 
    GeneralBackColor PinsussSiva_197620-Aug-02 21:50 
    Generalevents fired from grid crash in ATL Pinmemberchadrogers3329-Mar-02 4:47 
    Generalevents fired from grid crash in ATL Pinmemberchad rogers28-Mar-02 12:59 
    GeneralMulti-line text per cell PinmemberChristiaan24-Jan-02 3:33 
    GeneralRegarding Selection.... PinmemberChetan23-Oct-01 5:14 
    GeneralExample code for using ATL grid in C++ PinmemberMartinB17-Oct-01 1:59 
    QuestionHow to use it from C++/WTL PinmemberRamon Smits31-Aug-01 8:48 
    AnswerRe: How to use it from C++/WTL Pinmembertfryar5-Dec-01 11:50 
    GeneralWhere can I get &quot;ATLNewGrid.tlb&quot; file? PinmemberAltair_Liu10-Mar-04 16:19 
    GeneralRe: Where can I get &quot;ATLNewGrid.tlb&quot; file? Pinmembertfryar11-Mar-04 15:05 
    QuestionHow to insert a column in a pointed position? PinmemberAnonymous9-Aug-01 6:32 
    GeneralMemory Reference Error on VisualBasic Pinmembernils862-Aug-01 8:13 
    QuestionCan it be bound with database? Pinmemberlizpdd4-Jul-01 17:32 
    GeneralGDI object leaks PinmemberLionel Schiepers3-Jul-01 6:10 
    GeneralRe: GDI object leaks PinmemberR. Douglas Barbieri31-Jul-01 21:45 
    GeneralCann't host the control. PinmemberGan Chun How20-May-01 21:26 
    GeneralRe: Cann't host the control. PinmemberJan Matejka21-Aug-01 11:04 
    GeneralRe: Cann't host the control. PinmemberSpiros17-Sep-01 0:25 
    GeneralRe: Cann't host the control. PinmemberBrad Bruce4-Oct-01 5:58 
    GeneralPocket PC Visual Basic Grid PinmemberDerek Perkins2-May-01 5:03 
    Questionwhy compile time error ? Pinmemberwebman014-Apr-01 19:19 
    AnswerRe: why compile time error ? PinmemberR. Douglas Barbieri3-May-01 9:30 
    QuestionHow can I drop this in an MFC client? PinmemberMike Ryan5-Mar-01 9:48 
    AnswerRe: How can I drop this in an MFC client? Pinmemberchenzhu11-May-01 21:16 
    GeneralBug Found PinmemberSteve Young11-Jan-01 17:32 
    GeneralRe: Bug Found PinmemberR. Douglas Barbieri3-May-01 9:22 
    GeneralRe: Bug Found PinmemberR. Douglas Barbieri3-May-01 9:28 
    QuestionIs it possible to bind this grid to an ADO recordset? PinsussJamie5-Oct-00 15:53 
    AnswerRe: Is it possible to bind this grid to an ADO recordset? Pinmemberchenzhu11-May-01 21:24 
    QuestionInterested in a new grid version ? PinsussMario24-Aug-00 1:51 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    | Advertise | Privacy | Terms of Use | Mobile
    Web01 | 2.8.1411023.1 | Last Updated 7 Feb 2000
    Article Copyright 2000 by Mario Zucca
    Everything else Copyright © CodeProject, 1999-2014
    Layout: fixed | fluid