Okay, here you go:

Let's say I have a class, defined as follows:

class CMyModel: public CBase
TBuf<4> iTitle;
TBuf<4> iDesc;

and another class, that acts as a model for a listbox:

class CMyListboxModel: public CBase, public MDesCArray
... // construction, destruction, etc.

public: // MDesCArray
TInt MdcaCount() const;
TPtrC MdcaPoint(TInt aIndex) const;

mutable TBuf<16> iBuffer;
CMyModel* iMyModel;

Now, how would you implement the method MdcaPoint of the class CMyListBoxModel correctly?

Thank you,