Hi! I have some troubles with the CAknSingleLargeStyleListBox. The program falls when I try to draw the listbox. I think that the problem is with this CreateIconL() -function. I have studied the listbox example and tried the following:
CArrayPtr<CGulIcon>* icons = new( ELeave ) CAknIconArray(1);
The mbm-file is copied from the SDK folders. What is the meaning of those two other parameters? I didn't understand it from the help.
RE: I don't understand the CreateIconL() -function
todoicon.mbm is the multi-bitmap file that has multiple bitmaps in it. The second parameter is the icon picture and the third is the icon mask. So most usually they shouldn't be same. For more information of masks see SDK help.