How to move focus/selection to a particular contact/item in Explor

G

Guest

I have extended the Contacts Explorer with a sub-pane that collects data.

As soon as the user selects another contact from the contact's explorer
(phone list view), the data is then saved for the previously selected
contact. If there is an error in the data, I either want to

a) Prevent the user from switching to another contact

OR

b) I want to program the selection and focus rectangle back to the
original contact

How can I code this? Any help would be appreciated
 
K

Ken Slovak - [MVP - Outlook]

The Selection collection cannot be set in code and there is no cancel
parameter for the SelectionChange event. The best you can do is set Cancel =
True if the user tries to switch to a different folder. You can't do what
you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top