A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to validate a Custom Property Page



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 9th 06, 08:01 PM posted to microsoft.public.outlook.program_addins
Jack Zhang
external usenet poster
 
Posts: 1
Default How to validate a Custom Property Page

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
  #2  
Old February 9th 06, 08:22 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to validate a Custom Property Page

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" wrote in message
...
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Background Color for Outlook Property Page paulmcd Add-ins for Outlook 2 February 15th 06 08:38 AM
"Resize with form" property on custom controls Vaughan Outlook - Using Forms 2 February 6th 06 09:03 PM
why can't you add a page to a form just like you can add a page to the property page donald Outlook - Using Forms 2 January 25th 06 11:50 AM
Group policy: Always validate personal DLs while sending mail Ravi Sabharanjak Outlook - Installation 1 January 19th 06 01:48 AM
Make outlook validate addresses against the GAL first before perso Ravi Sabharanjak Outlook - Installation 1 January 19th 06 01:40 AM


All times are GMT +1. The time now is 09:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.