link to MSDN
How To Run an eMbedded Visual Basic Application Full Screen on a Pocket PC Device
Article ID | : | 265451 |
Last Review | : | July 13, 2004 |
Revision | : | 3.1 |
This article was previously published under Q265451
SUMMARY
This article illustrates how to programmatically manipulate the various screen objects on a Pocket PC device by using the SHFullScreen API function from an eMbedded Visual Basic (eVB) application.
It is popular for applications that target Windows CE to use as much of the screen of the smaller Palm-sized devices as possible. The new user interface (UI) of the Pocket PC platform requires additional work for an application to use the full screen area.
It is popular for applications that target Windows CE to use as much of the screen of the smaller Palm-sized devices as possible. The new user interface (UI) of the Pocket PC platform requires additional work for an application to use the full screen area.
MORE INFORMATION
To understand the comments in the code examples in the article, the new Pocket PC UI terms are described as follows:
To create a window that uses as much of the screen as possible, the application calls SHFullScreen to hide these elements.
• | The taskbar is located at the top of the screen, it displays application captions, and gives the user the ability to start applications. |
• | The command bar, also known as the menu bar, is located at the bottom of the screen. |
• | The soft input panel (SIP) button is located on the command bar, to the lower-right corner of the screen. |
Step-by-Step Example
1. | Start eMbedded Visual Basic, and create a new Windows CE for the Pocket PC project. |
2. | Add four CommandButton controls to Form1. |
3. | Paste the following code into Form1:
Option Explicit |
4. | Run the project and test the functionality by clicking the CommandButtons. |
REFERENCES
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:266244 (http://support.microsoft.com/kb/266244/EN-US/) How To Create Full-Screen Applications for the Pocket PC
No Comments
Post a Comment