Can anyone tell me how to use CEikLabeledButton in a non dialog application. I tried to write a sampple application with a single button. The ContructL function in the Container has the following code. I dont know what i am doing wrong here. I would greatly appreciate any one who can throw more light. My thanks in advance
iButton = new (ELeave) CEikLabeledButton;
iButton->ConstructFromResourceL(RsData); // Error here??