15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


MDI Minized Icon

Mark Koehler -- mkoehler@ix.netcom.com
Wednesday, October 23, 1996

Environment: Windows NT 4.0, Windows NT 3.51, Windows 95, VC++ 4.2

I have an MDI application in which I would like to display a minized 
CMDIChildWnd so it looks similar to Windows 3.1 minized MDI Child window 
regardless of the operating system version. In other words, it would be an 
icon w/title rather than "iconized" title bar under 95.

How can I accomplish this? The default operation is just not acceptable for 
my particular CMDIChildWnd.




Dave_Rabbers@Quinton-Eng.CCMAIL.CompuServe.COM
Monday, October 28, 1996

     
You could handling the painting your self, although I think you may be out of 
luck.  You will have to handle WM_WINDOWPOSCHANGING to set the window size to 
that of an icon, and WM_PAINT to paint your icon.  Both message handlers will 
have to determine whether or not the window is minimized and act accordingly.

I would appreciate knowing of this works.  I might want to do the same!

______________________________ Reply Separator _________________________________
Subject: MDI Minized Icon
Author:  INTERNET:mkoehler@ix.netcom.com at CSERVE
Date:    10/26/96 3:36 PM


Sender: owner-mfc-l@majordomo.netcom.com
Received: from majordomo.netcom.com (listless.netcom.com [206.217.29.105]) by 
arl-img-7.compuserve.com (8.6.10/5.950515)
     id PAA26448; Sat, 26 Oct 1996 15:35:07 -0400
Received: by majordomo.netcom.com (8.7.5/8.7.3/(NETCOM MLS v1.01)) id 
LAA29341; Sat, 26 Oct 1996 11:08:14 -0700 (PDT)
Message-ID: <01BBC0FB.C95907C0@atl-ga24-27.ix.netcom.com> 
From: Mark Koehler 
To: "'mfc-l@netcom.com'"  
Subject: MDI Minized Icon
Date: Wed, 23 Oct 1996 09:49:28 -0400 
Encoding: 9 TEXT
Sender: owner-mfc-l@majordomo.netcom.com 
Errors-To: owner-mfc-l@majordomo.netcom.com 
Precedence: bulk
Reply-To: mfc-l@netcom.com
     
Environment: Windows NT 4.0, Windows NT 3.51, Windows 95, VC++ 4.2
     
I have an MDI application in which I would like to display a minized 
CMDIChildWnd so it looks similar to Windows 3.1 minized MDI Child window 
regardless of the operating system version. In other words, it would be an 
icon w/title rather than "iconized" title bar under 95.
     
How can I accomplish this? The default operation is just not acceptable for 
my particular CMDIChildWnd.





| Вернуться в корень Архива |