Scrollbars in Windows CE

Screen space is always a premium on handheld devices, so to get round it we've reduced the size of our scrollbars. We took this decision because our apps are not touch-screen enabled (some devices we use do not have touch screens) so there's no requirement for a large scrollbar to be able to scroll up and down.

To do this, we added the following to a SCROLLBARS.REG file and placed this in the \Platform folder. It's important we placed it here, rather than the \Application folder, as these settings are needed earlier in the cold boot. Placing this reg file in the \Application folder will result in your scrollbars not being the correct width after a cold boot, but the correct width after a subsequent warm boot.

REGEDIT4

[HKEY_LOCAL_MACHINE\System\GWE]
"cxHScr"=dword:00000008
"cyHScr"=dword:00000008
"cxVScr"=dword:00000008
"cyVScr"=dword:00000008

Comments