Solved

Bring to front Outlook contact form called using OOM

Posted on 2013-06-25
2
623 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

691 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