Skip to Content
0
Former Member
Dec 20, 2010 at 03:38 AM

SDK UI 菜单栏插入图标

57 Views

通过 addmenus.xml 在B One里加载菜单栏.

addmenus.xml 内容:

<Application>

<Menus>

<action type="add">

<Menu Checked="0" Enabled="1" FatherUID="43520" Image="title.bmp" Position="14" String="Menus" Type="2" UniqueID="Menus">

<Menus>

<action type="add">

<Menu Checked="0" Enabled="1" FatherUID="Menus" Image="" Position="0" String="Menu_1" Type="1" UniqueID="Menu_1" />

</action>

</Menus>

</Menu>

</action>

</Menus>

</Application>

在Image属性中填写路径下的图标文件..运行报错.. Error -11003:Menu-Fail loading Image file

求助..怎么在addmenus.xml里菜单栏加图标. 谢谢.

有任何提示也请告知, 参与讨论谢谢.