With Pocket PC, the "X" on the title bar is known as the "smart minimize"
button. It does not close your application, it simply minimizes it into the
background. Try setting the Form's MinimizeBox property to false. You should
see a button that says "OK" instead of the "X". Tapping "OK", on the main
Form, will close your application.
--
Tim Wilson
..Net Compact Framework MVP
"George Ivanov" <gs******@yahoo.com> wrote in message
news:OS**************@TK2MSFTNGP15.phx.gbl...
hi,
I want to close C# Win Form application for Pocket PC, only by pressing
[X]. On the device pressing [X] closes the window, but the application
is still active.
How can I catch the click event for [X] button and close the
application?
*** Sent via Developersdex http://www.developersdex.com ***