
08-26-2003, 05:16 PM
|
|
Philosopher
Join Date: Jun 2003
Posts: 544
|
|
This is by design. Here's a snippet from the SDK's documentation.
"You can have no more than two top-level menu items.
Only the second top-level menu item, on the right side of the form, can have submenus.
Note The .NET Compact Framework does not enforce these restrictions at design time but does throw an NotSupportedException at run time.
Visual Studio.NET automatically adds a MainMenu component to your form when you create Smartphone and Pocket PC applications. The component, however, is not automatically added to child forms.
The Compact Framework does not limit the number of submenu items you can have or the number of nested menus, but for best practices follow Smartphone UI guidelines as described in "Designing User Interfaces for Smartphone" in the Smartphone Guide.
At run time, you cannot delete a top-level menu item. However, you can set MenuItem.Enabled to false and set MenuItem.Text to an empty string to make a menu item appear invisible."
__________________
This posting is provided "AS IS" with no warranties, and confers no rights.
|
| |
|
|
|