Read-only archive of the All About Symbian forum (2001–2013) · About this archive

init of an array

0 replies · 919 views · Started 25 May 2004

Hi
I want to init a choice list in a dialog dynamically.
I know that the code should look like :
"CEikChoiceList* iChoice = static_cast<CEikChoiceList*>(Control(EMyAppControlIdMyId));
iChoice -> SetArrayL(MDesCArray* aArray);"
I want to create a simple array that I can put as a parameter (like {"first","second","third"}...) but don`t know how to create this array .
please advise , thanks a lot