I am trying to create a custom label. For this i have designed a class derived from CCoeControl. I have CEikLabel as its data member. I have written wrapper functions to set text, position and size of the label. I am overriding the Draw function, setting background rect of label with a color.
Problem is that when i create this custom label in view class(derived from CCoeControl) the Draw function of my label is not getting called. In view i have also written ComponentControls() and CountComponentControls(). Please tell me if i am missing out anything ....
Thanks in advance,