Saturday 6 April 2013

CCheckList Constructors

Hi,

the web documentation for CCheckList Constructor says:

Passes corresponding values to the Base class (CField)

The constructor for CField is:


CField::CField(int Row, int Col,int Width, int Height,
    void* Data,bool Bordered,const char* Border)

but I'm not sure what I'm suppose to pass to Height and Data

so I put


CCheckList::CCheckList(const char* Format, int Row, int Col, 
        int Width,bool radio, bool Bordered,
        const char* Border) :CField(Row, Col, Width, 0, 0, Bordered, Border){


Should I pass the two zeroes for Height and Data? If not, what am I suppose to pass?




No comments:

Post a Comment