Need Help for Device  
Author Message
ozhonetech





PostPosted: Smart Devices General, Need Help for Device Top

Hi,

I am developing Pocket PC application by using CF1.0 on Visual Studio 2003. I hav one doubt. when i change the screen orientation portrait to Landscape/ Landscape to Portrait, there is a vertical scrollbar displays in the right of the device. what my question is i don't want to display that scrollbar that means how to hide vertical scrollbar programmatically Please send suggestion.

Thanx.

GANESAN M.




Smart Device Development14  
 
 
ozhonetech





PostPosted: Smart Devices General, Need Help for Device Top

Hi,

I am developing Pocket PC application by using CF1.0 on Visual Studio 2003. I hav one doubt. when i change the screen orientation portrait to Landscape/ Landscape to Portrait, there is a vertical scrollbar displays in the right of the device. what my question is i don't want to display that scrollbar that means how to hide vertical scrollbar programmatically Is there any API for hiding vertical and horizontal scrollbars for CF1.0 Please send suggestion.

Thanx.

GANESAN M.



 
 
Michael Koster





PostPosted: Smart Devices General, Need Help for Device Top

Hi

The following MSDN Article describes how to solve this:

http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/developing_orientation_and_resolution_aware_apps.asp

Hope this helps
Michael



 
 
Alex Feinman





PostPosted: Smart Devices General, Need Help for Device Top

Just to add to the previous post - the only way to get rid of that scrollbar is to ensure that no control stick out beyond the extents of the form. Normally, on CF 1.0 this is achieved by manually rearranging controls in the Resize event handler for the container (panel, form).