Skip to content

codexpert blog

I see native code

  • Blog
  • Site Home
  • Forum
  • Articles
  • Resources
  • About Us

CMDIFrameWndEx

Double-click in MDI Client

2017.03.302017.03.30 by Ovidiu Cucu

It’s hard to believe that handling mouse double-clicks in MDI Client windows can be super useful, but I found this problem in a discussion forum. I presumed that it was not only for fun, so I tried to resolve it. First, I subclassed the MDI Client window in a CWnd-derived class. That is possible for a … Read more

Categories MFC Tags CMDIFrameWndEx, MDI application, MDI Client, mfc 1 Comment

Custom Paint in MDI Client

2013.01.282013.01.28 by Ovidiu Cucu

In some MDI applications, would be nice to perform some custom painting the MDI Client area. For example we can fill the background with a brush or draw a logo image. One classic and well known method is to subclass the MDI Client window in our own class derived from CWnd MFC class. After subclassing, … Read more

Categories MFC, Uncategorized Tags CMDIFrameWndEx, custom paint, Feature Pack, MDI Client, mfc, WM_PAINT 4 Comments

Recent Posts

  • MFC Support for Direct2D – Transforms (1)
  • MFC Support for Direct2D – Lost Render Target
  • Codexpert – 2017 Articles Summary
  • MFC Support for Windows Animation
  • MFC Support for Direct2D – Saving to files

Tags

AfxMessageBox algorithm atl auto-close c++ C++11 C++14 CBT Hook CFileDialog CMDIFrameWndEx codecs concurrency CScrollView debugging Direct2D DirectWrite directx functions image viewer listview literals MDI application MDI Client mfc multi-select menu multiple selection menu mutex opensource overlay drawing parallel Processes standard stl string threads VC++ vista Visual C++ Visual Studio WIC wic codecs windows Windows API windows imaging component WMI

Categories

Archives

IT Weblogs & Forums

  • Bartek's coding blog
  • Codeguru
  • CodeProZone
  • CppDepend Blog
  • Fluent C++
  • hacking C++
  • High C++ with Ivan Čukić
  • Marc Gregoire’s Blog
  • Marco Arena's blog
  • Marius Bancila's Blog
  • Meeting C++
  • Modernes C++
  • Petr Zemek Blog
  • Simplify C++
  • Standard C++ (isocpp.org)
  • Sutter’s Mill
  • The Old New Thing
  • thisPointer.com
  • Visual C++ Team Blog
  • Vorbrodt's C++ Blog

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2023 codexpert blog • Built with GeneratePress