This is getting really frustrating.
I recreated the mbm file from scratch with Carbide C++ 2.0. Carbide created the mbg file for me. All bitmaps are c24 format, all bitmaps have a corresponding image mask yet I still can't get it to work.
In my own test script I get KErrNotFound when trying to create the Listbox (sample below)
In view_mbm I get a message: "Failed to show 12 icons".
exitlock = e32.Ao_lock()
appuifw.app.menu = [(u"Exit", exit_handler)]
appuifw.app.exit_key_handler = exit_handler
entries = 
mbm = unicode("e:\\data\\python\\vm2.mbm")
icon = appuifw.Icon( mbm ,2,3)
#icon = appuifw.Icon(u"z:\\resource\\apps\\avkon2.mbm", 28, 29)
appuifw.app.body = appuifw.Listbox(entries)
A couple of things:
1. the mbg file created by carbide does NOT contain index offsets and is different in format than the avkon.bmg file
2. the generated mbm file can be opened and all icons view correctly in MBM Whizard and in Carbide 2.0
I have no idea how to take it from here. How is everybody else generating their mbm files and are they working with 1.9.5?