🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7417

Re: detect minimzed windows

#7417
From: Remy Lebeau (TeamB)
Date: Sat, 05 Feb 2005 00:02
24 lines
1792 bytes
"nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote in message
news:4204056f$1@newsgroups.borland.com...

> Notepad and MSPaint, f.e., minimize to a small rectangle
> (with system menu) placed at the lower end of the work area.

There is no taskbar available on the new Desktop, so minimized apps have
nowhere else to go.

> I checked with EnumWindows that it's actually still there,
> minimized and visible, but GetWindowRect tells me that
> its position is -32000, -32000.

Checking the coodinates of a minimized window is not meaningful since the
window is not visible to begin with.  Use IsIconic() to determine if a
window is minimized or not.

Are you calling GetWindowRect() while the window is not minimized?  Where
exactly are you calling it from?  Is it being called from a thread that is
associated with the new Desktop?


Gambit
Technical Details
Message-ID: <42040c57$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42013951$1@newsgroups.borland.com> <4204056f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ee771e81de1fa4e1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42013951$1@newsgroups.borland.com> <4204056f$1@newsgroups.borland.com>
Subject: Re: detect minimzed windows
Date: Fri, 4 Feb 2005 16:02:28 -0800
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <42040c57$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107561559 68.69.17.41 (4 Feb 2005 15:59:19 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail