• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 632
  • Last Modified:

Bring to front Outlook contact form called using OOM

Hi

In our application we are using OOM (Outlook object model) to let the user choose recipients for email from his Outlook address book. Calling GetSelectNamesDialog() method show the contact list from Outlook.

The problem is that window may appears under the main window of our application. The method call doesn't give handle or any means to bring it to front.

How can we bring this windows in front of our application's main window.

We code in c# framework 2.0.

If you need more information, please ask.

Thanks!
0
TelDig
Asked:
TelDig
1 Solution
 
dheiertCommented:
There is no property on the dialog to put it on top or make it modal?
Here is the exact problem with a potential solution, but it is generic.
http://social.msdn.microsoft.com/Forums/office/en-US/0b10c743-8738-45a7-9bef-922ad5f72438/how-to-bring-the-popup-created-using-getselectnamesdialog-to-the-foreground-as-a-top-most-window
0
 
TelDigAuthor Commented:
Thanks for the link. This helped to solve the issue.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now