I have been trying to intercept the event generated by the clicking of the
System Close button (X), which is displayed on the application's form top
right corner. I'm monitoring the Form.Closing(â?¦) event to detect the closing
of the form, but for some reason it doesn't appear to work.

My application runs on the Pocket PC 2003, and I'm using Framework 1.1. Any
help is appreciated.

Thanks,

Oceano

Re: Form close by Chris

Chris
Fri Apr 29 12:28:30 CDT 2005

The (X) is a minimize button, not a close button. Change the Form's
ShowMinimize property to change it to the (OK) button, which is a close.

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate


"Oceano" <Oceano@discussions.microsoft.com> wrote in message
news:BF8BC588-6D9E-4025-A2E7-7ECDC86B57AD@microsoft.com...
>I have been trying to intercept the event generated by the clicking of the
> System Close button (X), which is displayed on the application's form top
> right corner. I'm monitoring the Form.Closing(.) event to detect the
> closing
> of the form, but for some reason it doesn't appear to work.
>
> My application runs on the Pocket PC 2003, and I'm using Framework 1.1.
> Any
> help is appreciated.
>
> Thanks,
>
> Oceano
>



Re: Form close by Oceano

Oceano
Fri Apr 29 13:00:02 CDT 2005

Chris,

That did the trick, thanks. Here's a related question. Do you have any idea
how to show all the 3 buttons (close, minimize, and maximize) at the same
time on the form, just like we would do on a standard Windows window?

Thanks,

Oceano

"Chris Tacke, eMVP" wrote:

> The (X) is a minimize button, not a close button. Change the Form's
> ShowMinimize property to change it to the (OK) button, which is a close.
>
> --
> Chris Tacke
> Co-founder
> OpenNETCF.org
> Has OpenNETCF helped you? Consider donating to support us!
> http://www.opennetcf.org/donate
>
>
> "Oceano" <Oceano@discussions.microsoft.com> wrote in message
> news:BF8BC588-6D9E-4025-A2E7-7ECDC86B57AD@microsoft.com...
> >I have been trying to intercept the event generated by the clicking of the
> > System Close button (X), which is displayed on the application's form top
> > right corner. I'm monitoring the Form.Closing(.) event to detect the
> > closing
> > of the form, but for some reason it doesn't appear to work.
> >
> > My application runs on the Pocket PC 2003, and I'm using Framework 1.1.
> > Any
> > help is appreciated.
> >
> > Thanks,
> >
> > Oceano
> >
>
>
>

Re: Form close by Chris

Chris
Fri Apr 29 13:05:59 CDT 2005

You can't with Pocket PC. It's (X), (OK) or nothing

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate


"Oceano" <Oceano@discussions.microsoft.com> wrote in message
news:616693EA-7F2E-4344-903E-79AC322EBEE4@microsoft.com...
> Chris,
>
> That did the trick, thanks. Here's a related question. Do you have any
> idea
> how to show all the 3 buttons (close, minimize, and maximize) at the same
> time on the form, just like we would do on a standard Windows window?
>
> Thanks,
>
> Oceano
>
> "Chris Tacke, eMVP" wrote:
>
>> The (X) is a minimize button, not a close button. Change the Form's
>> ShowMinimize property to change it to the (OK) button, which is a close.
>>
>> --
>> Chris Tacke
>> Co-founder
>> OpenNETCF.org
>> Has OpenNETCF helped you? Consider donating to support us!
>> http://www.opennetcf.org/donate
>>
>>
>> "Oceano" <Oceano@discussions.microsoft.com> wrote in message
>> news:BF8BC588-6D9E-4025-A2E7-7ECDC86B57AD@microsoft.com...
>> >I have been trying to intercept the event generated by the clicking of
>> >the
>> > System Close button (X), which is displayed on the application's form
>> > top
>> > right corner. I'm monitoring the Form.Closing(.) event to detect the
>> > closing
>> > of the form, but for some reason it doesn't appear to work.
>> >
>> > My application runs on the Pocket PC 2003, and I'm using Framework 1.1.
>> > Any
>> > help is appreciated.
>> >
>> > Thanks,
>> >
>> > Oceano
>> >
>>
>>
>>



Re: Form close by Oceano

Oceano
Fri Apr 29 13:18:11 CDT 2005

Chris,

That's what I suspected. Thanks for your help.

Oceano

"Chris Tacke, eMVP" wrote:

> You can't with Pocket PC. It's (X), (OK) or nothing
>
> --
> Chris Tacke
> Co-founder
> OpenNETCF.org
> Has OpenNETCF helped you? Consider donating to support us!
> http://www.opennetcf.org/donate
>
>
> "Oceano" <Oceano@discussions.microsoft.com> wrote in message
> news:616693EA-7F2E-4344-903E-79AC322EBEE4@microsoft.com...
> > Chris,
> >
> > That did the trick, thanks. Here's a related question. Do you have any
> > idea
> > how to show all the 3 buttons (close, minimize, and maximize) at the same
> > time on the form, just like we would do on a standard Windows window?
> >
> > Thanks,
> >
> > Oceano
> >
> > "Chris Tacke, eMVP" wrote:
> >
> >> The (X) is a minimize button, not a close button. Change the Form's
> >> ShowMinimize property to change it to the (OK) button, which is a close.
> >>
> >> --
> >> Chris Tacke
> >> Co-founder
> >> OpenNETCF.org
> >> Has OpenNETCF helped you? Consider donating to support us!
> >> http://www.opennetcf.org/donate
> >>
> >>
> >> "Oceano" <Oceano@discussions.microsoft.com> wrote in message
> >> news:BF8BC588-6D9E-4025-A2E7-7ECDC86B57AD@microsoft.com...
> >> >I have been trying to intercept the event generated by the clicking of
> >> >the
> >> > System Close button (X), which is displayed on the application's form
> >> > top
> >> > right corner. I'm monitoring the Form.Closing(.) event to detect the
> >> > closing
> >> > of the form, but for some reason it doesn't appear to work.
> >> >
> >> > My application runs on the Pocket PC 2003, and I'm using Framework 1.1.
> >> > Any
> >> > help is appreciated.
> >> >
> >> > Thanks,
> >> >
> >> > Oceano
> >> >
> >>
> >>
> >>
>
>
>