Putting a button in the caption

  • Thread starter Thread starter Peter Morris [Droopy eyes software]
  • Start date Start date
P

Peter Morris [Droopy eyes software]

This might sound like an odd request, but based on my current UI it would be
really nice to have a small image or button in the top-right of the caption
area of my form. Is this possible? If so how is it done?


Thanks

Pete
 
On a PPC, the title bar/caption area isn't even your app. It's part of the
shell. There's no simple way to add another one.

-Chris
 
Hi Chris

At the moment I have a 16x16 image at the top-right of my form's client area
which is set as the topmost control every time I change the GUI controls on
the form (my app is a wizard and has only 1 form with different embedded
controls).

Can you think of a better solution than this? It works okay but I had hoped
to be able to put something outside of the client area so that I don't
obscure anything.


Thanks

Pete
 
What type of device are you targeting? if its Windows Mobile you can use the
SHNotification APIs to add your own icon to the taskbar. In .NETCF v2.0 use
the Microsoft.WindowsCE.Forms.Notification, or the OpenNETCF equivalent for
..NETCF v1.0
This functionality is specific to the Windows Mobile shell. If your device
has the generic CE shell you can add an icon to the taskbar tray with the
OpenNETCF.Windows.Forms.NotifyIcon which works like the desktop equivalent.

Peter
 
What type of device are you targeting?

It's a pocket pc, will that work? Do you have an example or URL I could
see?


Thanks

Pete
 
Back
Top