How to validate a Custom Property Page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
Back
Top