You receive the identical event when the user clicks Apply or OK. You have no way to know which was clicked unless you hook to the Windows message pump and figure it out that way. Whether or not the Tools, Options dialog closes is up to Outlook, it's not under your control at all.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm
"Jack Zhang" <JackZhang[ at ]discussions.microsoft.com> wrote in message news:09C0BDCF-6CF0-4FD5-973D-D73D1EE95398[ at ]microsoft.com...
[Quoted Text] > Hi All, > > I have added a property page to the Options Dialog Box as the example of > Ken > Slovak's book, everything is working fine, Now I need to validate the > inputs > when user click apply, if the data is valid then the page is closed, > otherwise the property page is keep in the focus. > > > thank you
|