MFC: Implementing handlers for preview, thumbnail and search filtering

Download this episode

Download Video

Description

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.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Vaclav9

      Is it possible to register the preview and thumbnail handlers for multiple document templates?

      My MFC app has 4 file types.

       

      Thank you

      Vaclav

       

    • User profile image
      Pat Brenner

      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

    • User profile image
      Vaclav9

      Hi Pat,

       

      Thank you for the quick response.

      I am looking forward to your next videos.

       

      Thanks

      Vaclav

    • User profile image
      carltz

      nice sharing pat,..

      thank you for your explanation..

      I'm waiting for the next Video,.

    • User profile image
      carltz

      Thanks for share the problem,.

    • User profile image
      petersan

      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

    • User profile image
      jeremyboy

      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.

    • User profile image
      carltz

      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?

    • User profile image
      Martinz

      nice short demonstration,.

      Thanks.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.