CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Sep 2007
    Posts
    5

    Iconify minimized child window in an MDI app

    Hello gurus,

    When a child frame window in an MDI app is minimized, it takes the shape of a clipped title bar with a small icon, title, and min/max/close buttons. I'm looking for a way to instead display a 32x32 icon with some text below it (as in a shortcut icon on a Windows desktop). I've looked all over but couldn't find much help. There was some mention of using OnNcPaint and manually drawing an icon and text, but I'm not very familiar with how to do that (I can see some complications arising when trying to create a transparent space, for example, between the icon and the text, etc), so I was hoping there'd be a more elegant (or hackerish) way of doing this. Any suggestions or pointers?

    Thanks in advance,

    \Mike
    Last edited by mishka00; March 8th, 2008 at 10:26 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured