Is there a way to minimize an app. to the systray? (I dont think it's called
"systray" on the pocketpc.....taskbar mebbe)

WHat I do now is :

Me.FormBorderStyle = FormBorderStyle.None
Me.Hide()
to hide the app, and:

Me.FormBorderStyle = FormBorderStyle.FixedSingle
Me.Show()
to bring it back. BUT, the taskbar/systray(?) shows my sip and menus. I just
want an Icon for the app down there.

I think openCf.net has support for notifyIcon, but was hoping there was a
simple native way to do this.

Re: How to minimize to icon? by Magnus

Magnus
Fri Dec 03 07:21:50 CST 2004

Perhaps you mean the notification tray (see SHNotificationAdd in the help
section).

"Oxcarz" <Oxcarz@discussions.microsoft.com> wrote in message
news:BA3EEEE3-BCAB-4970-97D8-566AD85BB167@microsoft.com...
> Is there a way to minimize an app. to the systray? (I dont think it's
> called
> "systray" on the pocketpc.....taskbar mebbe)
>
> WHat I do now is :
>
> Me.FormBorderStyle = FormBorderStyle.None
> Me.Hide()
> to hide the app, and:
>
> Me.FormBorderStyle = FormBorderStyle.FixedSingle
> Me.Show()
> to bring it back. BUT, the taskbar/systray(?) shows my sip and menus. I
> just
> want an Icon for the app down there.
>
> I think openCf.net has support for notifyIcon, but was hoping there was a
> simple native way to do this.



Re: How to minimize to icon? by Magnus

Magnus
Fri Dec 03 07:33:25 CST 2004

Don't know if the system tray work on Pocket PC but you could try the
Shell_NotifyIcon API.

"Magnus Persson" <numinel@arsmagica.com> wrote in message
news:ukaoPsT2EHA.1408@TK2MSFTNGP10.phx.gbl...
> Perhaps you mean the notification tray (see SHNotificationAdd in the help
> section).
>
> "Oxcarz" <Oxcarz@discussions.microsoft.com> wrote in message
> news:BA3EEEE3-BCAB-4970-97D8-566AD85BB167@microsoft.com...
>> Is there a way to minimize an app. to the systray? (I dont think it's
>> called
>> "systray" on the pocketpc.....taskbar mebbe)
>>
>> WHat I do now is :
>>
>> Me.FormBorderStyle = FormBorderStyle.None
>> Me.Hide()
>> to hide the app, and:
>>
>> Me.FormBorderStyle = FormBorderStyle.FixedSingle
>> Me.Show()
>> to bring it back. BUT, the taskbar/systray(?) shows my sip and menus. I
>> just
>> want an Icon for the app down there.
>>
>> I think openCf.net has support for notifyIcon, but was hoping there was a
>> simple native way to do this.
>
>



Re: How to minimize to icon? by Oxcarz

Oxcarz
Fri Dec 03 19:51:02 CST 2004

thanks, Magnus. Using your suggestion of the SHell_notifyIcon, I found and
ended up using openNETCF's implimentaion of this API call. Works fine

"Magnus Persson" wrote:

> Don't know if the system tray work on Pocket PC but you could try the
> Shell_NotifyIcon API.
>
> "Magnus Persson" <numinel@arsmagica.com> wrote in message
> news:ukaoPsT2EHA.1408@TK2MSFTNGP10.phx.gbl...
> > Perhaps you mean the notification tray (see SHNotificationAdd in the help
> > section).
> >
> > "Oxcarz" <Oxcarz@discussions.microsoft.com> wrote in message
> > news:BA3EEEE3-BCAB-4970-97D8-566AD85BB167@microsoft.com...
> >> Is there a way to minimize an app. to the systray? (I dont think it's
> >> called
> >> "systray" on the pocketpc.....taskbar mebbe)
> >>
> >> WHat I do now is :
> >>
> >> Me.FormBorderStyle = FormBorderStyle.None
> >> Me.Hide()
> >> to hide the app, and:
> >>
> >> Me.FormBorderStyle = FormBorderStyle.FixedSingle
> >> Me.Show()
> >> to bring it back. BUT, the taskbar/systray(?) shows my sip and menus. I
> >> just
> >> want an Icon for the app down there.
> >>
> >> I think openCf.net has support for notifyIcon, but was hoping there was a
> >> simple native way to do this.
> >
> >
>
>
>