Skip to content

codexpert blog

I see native code

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

WM_PAINT

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
  • 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
© 2022 codexpert blog • Built with GeneratePress