That's completely unsupported and not documented at all. You'd have to find
the hWnd using Spy++ or another tool and work out adding the button and
handling messages to that window on your own.

Signature
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
> hello mvp:
> i want to hook the outlook advanced find dialog window(hwnd) and the
> QueryRestriction restriction when user used the find dialog and has
> specified the restriction.and add my custom button on the advanced find
> dialog
roger - 27 Nov 2006 01:59 GMT
thanks Ken:
you mean mircosoft is not supported and no documented about how
to get the advanced find
dialog window (hwnd) and retrive the used specidied queryRestriction
restriction.
"Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org>
??????:ejKsfTZEHHA.4208@TK2MSFTNGP03.phx.gbl...
> That's completely unsupported and not documented at all. You'd have to
> find the hWnd using Spy++ or another tool and work out adding the button
[quoted text clipped - 5 lines]
>> specified the restriction.and add my custom button on the advanced find
>> dialog
Ken Slovak - [MVP - Outlook] - 27 Nov 2006 15:03 GMT
I mean there is no information about any of what you want to do and there's
no published way to get at the restriction that is implemented in the query
dialog. I've never seen anything published about it by MS or anyone else.

Signature
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
> thanks Ken:
> you mean mircosoft is not supported and no documented about how
> to get the advanced find
> dialog window (hwnd) and retrive the used specidied queryRestriction
> restriction.