Hi there!
I'm quite new to Symbian OS-Programming, so this might be a very simple Question.
I am using a Nokia 3650 cellphone.
My problem: I want to display a ListBox which occupies the whole display. Underneath the ListBox i just need a menubar for the two softbuttons.
Thats all for now.
I checked out the Nokia SDK, which contains a ListBox-example but which is way to complex to get an idea of what is absolutely neccessary for just displaying a simple ListBox. It makes massive use of subclassing which i think is only included because of a better design for an application which is written to display 30 different types of ListBoxes.
My first idea to get a grip:
Create a subclass of an Avkon-Listbox (e.g: CAknSingleStyleListBox, which itself is derived from CCoeControl) and write new implementations for NewL and ConstructL.
Then use this class as a substitute for the AppView-class of the HelloWorld-example of the SDK which is also derived from CCoeControl.
The problem with this "solution" is: there are 5 pure virtual methods declared in CAknSingleStyleListBox, which need to be implemented in the derived class and i have absolutely no idea of what these methods are used for.
My questions:
--Is this "derive from CAknSingleStyleListBox"-stuff a common way to solve problems like this?
--Is using a dialog, which contains a ListBox a better solution?
--Are there other (better?) solutions?
--Why is the documentation of simple things like this soooooo bad in the Nokia SDK?
--Does anyone know better docs for simple stuff like this? I think the SDK is a very bad place to start with. Some example-code ?
Thanks in advance for any answer!
Hendrik Bock