在WinCE Base 下建立 Control Panel (控制台程式的方法)

在WinCE Base 下建立 Control Panel (控制台程式的方法)

Platform Builder for Microsoft Windows CE 5.0
How to Implement a Control Panel Application

Send Feedback

The Windows CE Control Panel provides a central location in the user interface for small applications used to set system-wide properties and parameters used by the OS or applications running on the OS. An OS can include standard Control Panel applications and custom Control Panel applications added by OS and application developers.

Note   OS developers also have access to the source code for standard Control Panel applications and can customize them as well. This source code can be found in the %_WINCEROOT%PUBLICWCESHELLFEOAKCTLPNL directory. Modifying the source code for these applications is beyond the scope of this how-to topic.

The following table shows the steps to implement a Control Panel application. The steps can be performed on any display-based OS design. You can select the check box next to each step to track your progress.

  Step Topic
1. Create an OS design based on the Enterprise Web Pad design template.

  • From the Available BSPs list in the New Platform Wizard, select CEPC: x86.
  • From the Design Templates list in the New Platform Wizard, choose Enterprise Web Pad.
Creating an OS Design [ http://msdn2.microsoft.com/en-us/library/aa448498.aspx ]
2. Set Platform Builder to build the type of run-time image you want.

Select the release configuration.

Levels of Debugging Support [ http://msdn2.microsoft.com/en-us/library/ms894432.aspx ]
3.Build your run-time image by choosing Build and Sysgen from the Build OS menu. Verify that Make Run-Time Image After Build and Copy Files to Release Directory after Build are selected. Building a Run-Time Image [ http://msdn2.microsoft.com/en-us/library/aa448474.aspx ]
4. Create a "Hello World" application and add it to your OS design. Creating a Hello World Application [ http://msdn2.microsoft.com/en-us/library/ms914378.aspx ]
5. Create a project for your Control Panel application and add its code. Creating a Control Panel Application [ http://msdn2.microsoft.com/en-us/library/ms914264.aspx ]
6. Create a resource file and the necessary resources to support the code in your Control Panel application. Adding Resources to a Control Panel Application [ http://msdn2.microsoft.com/en-us/library/aa453945.aspx ]
7. Type the build settings for your Control Panel application. Building a Control Panel Application [ http://msdn2.microsoft.com/en-us/library/aa453946.aspx ]
8. Configure your download and debugging connections. Configuring a Connection for Downloading and Debugging [ http://msdn2.microsoft.com/en-us/library/ms902266.aspx ]
9. Download the run-time image to the CEPC and open Control Panel to see your application.

The icon for your application should appear in the control panel. Double-click the icon for your application to open your Hello World program. To close the Hello World application, right-click the taskbar icon and choose Close.

Downloading a Run-Time Image [ http://msdn2.microsoft.com/en-us/library/ms894430.aspx ]

See Also

Control Panel [ http://msdn2.microsoft.com/en-us/library/ms926152.aspx ]

廣告

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

%d 位部落客按了讚: