PDA

Click to See Complete Forum and Search --> : OK or X Button


Winder
Aug 17th, 2006, 03:53 AM
How do i detect the OK or X Button for Pocket PC 2002, so if the user clicks the OK or X Button, it will prompt the user for something.

I tried Form_Closing and Form_Closed and Form_Deactivate, but this 3 aren't the methods i want for the program.

Can anyone help me out on this ?

Strider
Aug 17th, 2006, 04:49 AM
when the x or ok button is pressed it is the form_closing event that is fired
this should work

Winder
Aug 17th, 2006, 07:45 PM
If i do a messagebox upon FormClosing, will it work ?

cause i tried it and it didn't work, i put a breakpoint, neither did it work.

Sorry