Inject / Overlay an MFC window into an existing application

Posted on 2007-10-11
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
    LVL 86

    Expert Comment

    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 ("Extending Outlook with new features") ("A VC++ Outlook COM Add-in that publicizes a custom form") ("How to Create Outlook AddIN / Plugin")

    on how to do that.

    Author Comment

    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


    Author Comment

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

    Thanks jkr

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
    The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

    761 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

    9 Experts available now in Live!

    Get 1:1 Help Now