Partager via


Creating a New CETSC Property Page (Windows Embedded CE 6.0)

1/6/2010

Applies to Windows Embedded CE 6.0 R2Update KB945975

This topic describes how to create a custom property page, also known as an auxiliary tab, and add it to the Windows Embedded CE Terminal Services Client (CETSC) user interface (UI).

You can have a maximum of 16 property pages in CETSC UI. This includes existing property pages, such as the General property page, and also custom property pages.

To create a new CETSC property page

  1. Start Platform Builder.

  2. Open cetscoem.cpp, located in %_WINCEROOT%\PUBLIC\RDP\OAK\CETSC.

  3. In the Initialize function implementation, increment the puAuxTabNum parameter value to reflect the number of custom property pages to add to CETSC UI at run time.

  4. In the SetTabDispArea function implementation, use the RECT structure in the rcTab parameter to set the display area for the custom property page.

  5. In the GetAuxTabInfo function implementation, create a new member of the RDP_TAB_INFO array for the new property page, and fill in the member with information about the new page.

  6. In cetscoem.cpp, define an OemProcXXX dialog routine for the property page. Create source code for the property page by using the template code in propaux1.h and propaux1.cpp, located in %_WINCEROOT%\PUBLIC\RDP\OAK\CETSC, as a guideline. In the source code, implement OemProcXXX.

    If you add a UI element to a new property page to enable the user to change an RDP setting, you must update the settings store in Cetsc.exe. For more information, see Updating an RDP Setting from CETSC UI.

  7. In %_WINCEROOT%\PUBLIC\RDP\OAK\CETSC, in the Sources file, add the file names that contain the new source code to the SOURCES file list.

  8. On the Build menu, choose Global Build Settings, and then make sure that both Copy Files to Release Directory After Build and Make Run-Time Image After Build are selected.

  9. On the Build menu, click Build <OS_Design>.

After you complete these steps and re-build the run-time image, when cetsc.exe starts during run time, it will call the functions in cetscoem.dll and apply your customizations to the CETSC UI.

See Also

Other Resources

Customizing CETSC UI