Article View: borland.public.cppbuilder.nativeapi
Article #7483detect minimzed windows
From: nicolasr
Date: Wed, 02 Feb 2005 20:34
Date: Wed, 02 Feb 2005 20:34
20 lines
1590 bytes
1590 bytes
Hi, I have created a new desktop with CreateDesktop and switch to that desktop. Then my program is run on that desktop in full screen mode and has some buttons that let the user start a limited number of other programs. I am catching WM_WINDOWPOSCHANGING messages to prevent my main form from ascending in z-order. This all works well. Only problem: when one of the other started programs is minimized it is reduced to a small rectangle and is always placed beneath my program. Is there a way to get notified of minimized windows? Currently I use a timer and send my main form every 500ms to the last place in z-order with SetWindowPos. Is this really the only way?? thanks for any ideas, Nick
Technical Details
Message-ID:
<42013951$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ee771e81de1fa4e1,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: detect minimzed windows Date: Wed, 2 Feb 2005 21:34:24 +0100 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 80.133.176.84 Message-ID: <42013951$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1107376465 80.133.176.84 (2 Feb 2005 12:34:25 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail