Posted this to General Platform forum -- should be here instead:

I'm using a CAknDoubleGraphicStyleListBox. I do a:
CAknDoubleGraphicStyleListBox *pListbox = STATIC_CAST(CAknDoubleGraphicStyleListBox*, Control(EInboxMsgList));

The first line of the output is bold, thereby taking up lots of space. I'd like to use a smaller font -- like the output of the second line. I've tried some code I've found here to change font:

TFontSpec myFontSpec(KMyFontName, 1); // to get Arial font
CGraphicsDevice* screenDevice=iCoeEnv->ScreenDevice();
screenDevice->GetNearestFontInTwips(myFont,myFontSpec);
pListbox->ItemDrawer()->SetFont(myFont);

but it doesn't seem to do anything. I've also tried:

pListbox->View()->SetEmphasized(EFalse);

but nothing works.

Is there a way to change the behavior of the text in this type of listbox? Maybe use the same font for both lines of output?

Thanks