forlano Messages: 1207 Registered: March 2006 Location: Italy
Senior Contributor
luzr wrote on Sun, 07 May 2006 19:57
Actually, this is most likely caused by the fact that ability to have "embedded" Ctrls is very recent, means this part is not as matured. In fact, I was thinking about "GetCellCtrl" for some time now, for similar reasons.
The only not very elegant issue is that such function will require to return generic "Ctrl *", requiring downcast.....
Mirek
I think that the elegance can stay at second place if one can dispose of such powerful method that resolve many (all?) kind of problems with embedded ctrl. With it I could resolve in a snap the problems I signaled in other threads regarding the arrayctrl. Moreover please consider that it should be used in complex task so that the developer should be ready to pay in term of decrease of elegance this additional "weapon" that simplify his life.