[Last Call] Learn how to a build a cloud-first strategyRegister Now


Inject / Overlay an MFC window into an existing application

Posted on 2007-10-11
Medium Priority
Last Modified: 2013-12-04

I would like to know what is the best method to inject / overlay an MFC control or window into an existing windows application (ex: Outlook).

I would like to have a result kinda like the plaxo outlook toolbar

I am using C++ / ATL.
Any ideas or suggestions?
Question by:cricri1998
  • 2
  • 2
LVL 86

Expert Comment

ID: 20060276
Well, that is not exactly an "overlay", what you are seeing in the image is an Outlook plugin in action. There's a well-defined interface for these plugins. See the examples at

http://www.codeproject.com/com/Outlook-addin.asp ("Extending Outlook with new features")
http://www.codeproject.com/com/OutlookForms.asp ("A VC++ Outlook COM Add-in that publicizes a custom form")
http://www.codeproject.com/useritems/Capture_Outlook_event_vc6.asp ("How to Create Outlook AddIN / Plugin")

on how to do that.

Author Comment

ID: 20068620
Hi jkr,

You are right they are using an Outlook plugin to perform this I am too (I should have mentioned that).
I looked up the custom forms and to my surprise they seem to be using that for certain display views like the one seen in my screen shot.

But there must be a bit more to it, because for example LinkedIn insert their views with rollover events and transparencies (see link)

Are they just using the form or are they also injecting their own custom windows into the mix.
Thats the main reason why I wanted to know of techniques to inject my own windows and overlay over  the application controls. But if all theses functionnalities exist in the custom forms that would be great !

I will look into this and get back to you with the points.
LVL 86

Accepted Solution

jkr earned 2000 total points
ID: 20068671

Author Comment

ID: 20085144
Thanks I think I will be able to work with the last solution.
Just need to work some kinks out.

Thanks jkr

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

831 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