Use the Remote Desktop Connection Client in QVGA (Compact 7)
This topic describes how to troubleshoot problems that occur when the application UI is too large to be usable with the device screen size.
With the RDC client, there is a workaround that lets you bypass the problematic RDC client screens and still use the application. If you have a similar problem with another application, there may not be a workaround. Therefore, you may have to use the second solution. You can fix this problem in one of two ways:
Launch the RDC client by using a preconfigured .rdp file, bypassing the RDC client setup screens. If you know the format of the .rdp file, you can create it manually in a text editor. If you are not familiar with the format of the .rdp file, you can use the RDC client on another computer to create the file for you.
Reconfigure the RDC client screens so that they fit on a QVGA screen.
Launch the RDC Client by Using a Preconfigured .rdp File
The client UI is used only to configure the specifications of connecting to a particular client. This is an operation that is usually done only one time per remote client. Therefore, it may be more efficient to avoid the unusable sections of the UI by creating a preconfigured .rdp file than to change the UI.
On another Windows Embedded Compact powered device with a larger screen, click Start, point to Programs, and then click Remote Desktop Connection.
In the Remote Desktop Connection dialog box, click Options to expand the connection options.
Set all the configuration settings for the host you want to connect to.
On the General tab, click the Save As button.
In the Save As dialog box, select where you want the .rdp file saved, enter a name for the file, and then click OK.
Transfer the saved .rdp file to the host with the QVGA screen.
Reconfigure the RDC Client Screens
The RDC client UI is too tall to fit in the 240 pixel height of a QVGA screen. Windows are moved by clicking and dragging in the title bar, which prevents you from moving windows vertically to access the parts of the UI that are out of sight at the bottom of the screen. To solve this, you must rearrange the controls horizontally. To do this, you can use the resource editors built in to Visual Studio 2008, or you can use the dialog editor (DlgEdit) that you can download at Microsoft Support.
In Visual Studio or the dialog editor, open the Cetscbase.res resource file. The file is located in the %_WINCEROOT%\public\rdp\oak\lib\x86\debug directory.
If you use the dialog editor, it prompts you to select the associated header (.h) file. Choose Cancel.
Open dialog 416. Dialog 416 controls the initial RDC client dialog that prompts for the computer name and the width and height of all of the tabs visible when the Options are expanded. If you use the RDC client on a thin client device, open dialog 417 instead.
Save some vertical space in dialog 416 (or 417) by removing the space above the tab control. This space is used to display the Remote Desktop Connection banner, and is not needed. Remove this space by clicking the tab control and moving it until it touches the title bar.
Resize the dialog template so that it grows horizontally instead of vertically. To do this, set the height of the tab panel to 107 pixels and the width to 515. Set the width of the main dialog wide enough to contain the tabs.
Open each of the remaining dialog boxes and rearrange the controls horizontally instead of vertically. Edit each of the dialogs shown in the following table.
The General tab.
The Display tab.
The Local Resources tab.
The Programs tab.
The Experience tab.
The Advanced tab.
Save and close the Cetscbase.res resource file.
In Visual Studio, open the Cetscoem.h header file. The file is located in the %_WINCEROOT%\public\rdp\oak\cetsc directory.
Change the definition of the manifest constant LOGON_DLG_EXPAND_AMOUNT from 171 to 29.
#define LOGON_DLG_EXPAND_AMOUNT 29
Build the %_WINCEROOT%\public\rdp\ directory.
Perform the following build commands.
sysgen -p rdp buildrel makeimg
Check the RDC client on your host to make sure that the interface is usable on a QVGA screen.