Toolbar in .NET CF 2.0

  • Thread starter Thread starter Swaroop
  • Start date Start date
S

Swaroop

In .NET CF 2.0, Can I set location for toolbar? Also can I increase
size of toolbar buttons? I know that there are no built-in properties
provided to do this. I want to know if I can do this by any other
means.

Thanks
- Swaroop
 
On Windows Mobile the Toolbar control is fixed at the bottom of the screen
in the shared Menubar/Toolbar. Also the sizes are dictated by the screen
dpi, this is how the Windows Mobile shell behaves.
My guess is that on a generic CE device you can probably have more control
over the Toolbar by getting it's window handle and then either modifying
it's style bits, or sending toolbar specific messages to it, but I have not
tried this. You'd need to consult the SDK for details of these messages
(TB_*). You'll find the SDF (www.opennetcf.org/sdf/) has functionality to
wrap the necessary API calls (see OpenNETCF.Win32.Win32Window class in
particular)

Peter
 
Back
Top