Page 1 of 1

SUBCLASS with DCBROWSECOL, but only for the dataarea

Posted: Tue Oct 11, 2011 6:31 am
by Tom
I'm currently replacing an older multiline-column-class (providing cell-based-colors) with the much simpler ownerdrawing, but I came to a point where things got complicated. The old class initialized a variable only for the dataarea, and this variable was (and is) important for some sophisticated drag&drop-techniques inside the dialog/browse.

DCBROWSECOL supports a "subclass", but a column consists of the column object and at least 3 XbpCellgroups, where the dataarea is one from (BTW, it's hard to identify the dataarea!). The only thing I need is one additional exported var for the dataarea object. Is there an easy (maybe "hidden") way to do this? The alternative would be to create a subclass for the column and three new subclasses for the cellgroups. Any ideas? The cargo container is not helpful, since it's for the complete column, not only for cellgroups.

Re: SUBCLASS with DCBROWSECOL, but only for the dataarea

Posted: Tue Oct 11, 2011 7:34 am
by Tom
Forget it, found a better solution.