Image and Text in SoftMenu | developer.brewmp.com Image and Text in SoftMenu | developer.brewmp.com

Developer

Image and Text in SoftMenu

Forums:

Hey all.

I'm noticing a problem with setting Images and text on a softmenu. Correct me if I'm wrong, but using IMenuCtl_SetItemEx without an image will not work.

Is this correct?

I initially thought menus couldn't have a mix of icon items and text items, but using the two fns IMenuCtl_SetItemEx and IMenuCtl_SetItem together can product the results I am looking for.

Is there a reason why the former fn will not work without an image?

Also, when using an image and text on one menu button (Soft Menu again, as this works fine with list menu), the Image gets displayed behind the text. Anyone else notice this? If necessary, I can provide code. I haven't tried on the phone yet, but in the emulator, it certainly doesn't appear correct.

Hi,
the behaviour of softmenu is unpredictable on different hardwares so to avoid this problem we prefer to use our own developed softmenu control. Implemented simply but fulfills the work of softmenu. I'll suggest you to implement the behaviour of softmenu on your own to avoid future problems :D
Best Regards,
Ali Naqvi

Hi,
the behaviour of softmenu is unpredictable on different hardwares so to avoid this problem we prefer to use our own developed softmenu control. Implemented simply but fulfills the work of softmenu. I'll suggest you to implement the behaviour of softmenu on your own to avoid future problems :D
Best Regards,
Ali Naqvi