Summary

Team-Fly    

 
eMbedded Visual Basic: Windows CE and Pocket PC Mobile Applications
By Chris Tacke, Timothy Bassett
Table of Contents
Chapter 4.  Working with Menu Controls for Pocket PC


Although creating menus programmatically is more challenging than using the menu build in Visual Basic, it's not that daunting a task. Experience has shown that re-creating the entire menu by refreshing it is a sound strategy. Using the knowledge gained in this chapter should put you on course to develop functional, robust menus for your applications.

One of the best practices for menus is to use the Key property. Without using Key to your advantage, the application can quickly become unwieldy and error-prone .

It's easy to notice that there is no way to use the MenuBar control to create shortcut menus. Although it's beyond the scope of this book, they can be created in different ways. One method is to use API calls. Context-sensitive menus can also be mimicked using a borderless form with Frame and Label controls. And, another mimic is to use an invisible list control that's manipulated, moved, and made visible.


Team-Fly    
Top
 


eMbedded Visual BasicR. WindowsR CE and Pocket PC Mobile Applications
eMbedded Visual BasicR. WindowsR CE and Pocket PC Mobile Applications
ISBN: N/A
EAN: N/A
Year: 2001
Pages: 108

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net