Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

MFC: Implementing handlers for preview, thumbnail and search filtering

3 minutes, 9 seconds


Right click “Save as…”

This is a short demonstration of new MFC features in MFC and ATL which help with integrating your application’s file type into Windows Explorer.  This is done by implementing handlers for preview, thumbnail and search filtering, all of which are implemented in an application generated by the MFC application wizard. Pat Brenner, MFC guru and one of the folks who design and implement MFC is your host.


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • Is it possible to register the preview and thumbnail handlers for multiple document templates?

    My MFC app has 4 file types.


    Thank you



  • Hi Vaclav,


    It is possible to register handlers for multiple document templates.  If you have an existing MFC application you can do this by adding an ATL project to your solution and then adding ATL simple objects to create handlers for each of your document templates.


    I'm planning to do a video of this (adding handler support to an existing MFC application) soon, but thanks for the reminder.


    Pat Brenner

    Visual C++ Libraries Development

  • Hi Pat,


    Thank you for the quick response.

    I am looking forward to your next videos.




  • nice sharing pat,..

    thank you for your explanation..

    I'm waiting for the next Video,.

  • Thanks for share the problem,.

  • Hi all,
    I have to develop my first serious application in native code (Compact
    Framework has been excluded for several reasons) that should run over CE.NET
    4.2, PocketPC 2003 and future versions (and possibly also over SmartPhones).

    I wouldn't write code directly with Win APIs, I prefer to use a library such
    as MFC / ATL / WTL but I have several doubts such as:

    - I read that WTL is a good library, that runs also on SmartPhones, but does
    it run also on CE.NET 4.2 (and future version, such as 5.0), or I have to
    modify it?

    - MFC doesn't run on SmartPhones and is bigger than WTL, has it got some
    features so that I should prefer it over WTL?

    Can anybody give me some advice to choose the right library?

    comlandcomputerslanditcomputer computerslookup batch

  • I have to develop my first serious application in native code (Compact Framework has been excluded for several reasons) that should run over CE.NET

    Just curious what your reasons were for not using CF. I've played around with it and it seems kind of slow. I can't escape the feeling that using it will end up that the first 90% of the app was really easy to do in it and the last 10% darn near killed me or wasn't even possible.

  • LOL i literally asked the same exact question yesterday. I didnt realize MFC doesnt run on smartphones. Good to know. Even if i statically link the MFC it worn run on the smartphone os?

  • nice short demonstration,.


Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.