Hello.
I use this code, on a ppc:

Capture = true;
IntPtr hwnd = Win32.GetCapture();
Capture = false;
Win32.SHFullScreen(hwnd, Win32.SHFS_HIDESTARTICON);

to make my window not to show the start icon.
Win32 is a class defined by me where i import the dll's necesary to use this
function.
Th problem is that tha code works, but after i get to messageboxes from my
application with some error or something else the starticon is visible.
It happens all the time after 2 messageboxes.
Does anyone encounter this problem?

Re: SHFullSCrren method by Alex

Alex
Mon Apr 04 11:03:58 CDT 2005

You need to call this function in Resize and Activate event handlers as
well.

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Andrew" <Andrew@discussions.microsoft.com> wrote in message
news:C94A43B9-591B-42E9-9916-B194A80A480B@microsoft.com...
> Hello.
> I use this code, on a ppc:
>
> Capture = true;
> IntPtr hwnd = Win32.GetCapture();
> Capture = false;
> Win32.SHFullScreen(hwnd, Win32.SHFS_HIDESTARTICON);
>
> to make my window not to show the start icon.
> Win32 is a class defined by me where i import the dll's necesary to use
> this
> function.
> Th problem is that tha code works, but after i get to messageboxes from my
> application with some error or something else the starticon is visible.
> It happens all the time after 2 messageboxes.
> Does anyone encounter this problem?
>
>


Re: SHFullSCrren method by Andrew

Andrew
Tue Apr 05 02:45:11 CDT 2005

Thanks
It worked.

"Alex Feinman [MVP]" wrote:

> You need to call this function in Resize and Activate event handlers as
> well.
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Andrew" <Andrew@discussions.microsoft.com> wrote in message
> news:C94A43B9-591B-42E9-9916-B194A80A480B@microsoft.com...
> > Hello.
> > I use this code, on a ppc:
> >
> > Capture = true;
> > IntPtr hwnd = Win32.GetCapture();
> > Capture = false;
> > Win32.SHFullScreen(hwnd, Win32.SHFS_HIDESTARTICON);
> >
> > to make my window not to show the start icon.
> > Win32 is a class defined by me where i import the dll's necesary to use
> > this
> > function.
> > Th problem is that tha code works, but after i get to messageboxes from my
> > application with some error or something else the starticon is visible.
> > It happens all the time after 2 messageboxes.
> > Does anyone encounter this problem?
> >
> >
>
>