Category : C++ Source Code
Archive   : C_ALL.ZIP
Filename : TI654.ASC

 
Output of file : TI654.ASC contained in archive : C_ALL.ZIP







PRODUCT : Borland C++ NUMBER : 654
VERSION : All
OS : PC DOS
DATE : August 12, 1992 PAGE : 1/1

TITLE : Problem Closing an MDI Application?






PROBLEM: Attempts to close an MDI application from a menu while
the MDI application is iconized fail.



SOLUTION: An icon is actually two windows--the normal icon and an
"icon title" window which is owned by the system, not
by the application. When an MDIDESTROY message is sent
to an iconized MDI window, the icon (ie, the window) is
destroyed, but the title window is only hidden, not
destroyed. The solution is to send the icon a
WM_MDIRESTORE message, and then a WM_MDIDESTROY. If
you don't want this to be visible, call
ShowWindow(hWnd, SW_HIDE) to hide the window first.

DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.






























  3 Responses to “Category : C++ Source Code
Archive   : C_ALL.ZIP
Filename : TI654.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/