Solved

Bring to front Outlook contact form called using OOM

Posted on 2013-06-25
2
617 Views
Last Modified: 2013-07-02
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
Comment
Question by:TelDig
2 Comments
 
LVL 3

Accepted Solution

by:
dheiert earned 500 total points
ID: 39274494
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
 

Author Closing Comment

by:TelDig
ID: 39294179
Thanks for the link. This helped to solve the issue.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question