SmartPhone and MenuItem limit

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I am using VC# to write a SmartPhone application. I simply added a label and two top level menu items and everything deploys OK (to the emulator at least). When I add a sub-menuitem to either of the top level menu items I get a runtime error when InitializeComponent hits this.Menu = this.mainMenu1 which is the last line. All the menu items and submenu items were added by this time. Is there something special I need to do? I tried in VB and got the same result..

Thank you
Jo
 
You can only add sub-menuitems to the menu on the right side. .NET CF
enforces the design requirement that no submenus be added on the left.

--
Robert Levy
http://blogs.msdn.com/WindowsMobile
Program Manager, Microsoft Mobile Devices Product Group
This posting is provided "AS IS" with no warranties, and confers no
rights.
 
Hi Robert

Thanks for the info. Where would I look to find out info like that? Also, what is typically at the top level "left" menu item if it can't have any submenu items

Thanks
Joe
 
Check out "Smartphone managed development" in the index of VS.NET's help for
info on menus. For design guidelines, check out the logo requirements at
http://download.microsoft.com/downl...acb-cedd2e634985/Designed for SP_Handbook.pdf.

In general, you can start out by putting everything in a menu on the right
and then choose which item there is going to be the most frequently used.
Take that item and move it to the left softkey. Check out the apps built in
to Smartphone for examples of this.

--
Robert Levy
http://blogs.msdn.com/WindowsMobile
Program Manager, Microsoft Mobile Devices Product Group
This posting is provided "AS IS" with no warranties, and confers no
rights.
 
Back
Top