Solved

Bring to front Outlook contact form called using OOM

Posted on 2013-06-25
2
611 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now