🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Dual monitors. Minimize all window from one of them

#2677
From: Star
Date: Wed, 31 Jan 2007 22:56
14 lines
1392 bytes
Hi,

I'm trying to write a small program that can minimizes all the
tasks that are in the task manager but only for one of the monitors
that I have. (I have 2 monitors using extended desktop)
What I need basically is the what Show desktop does, but instead of 
doing it for all the windows in every monitor, just for one.

Is that possible?

I have tried using Enumwindows, but I get a huge list of windows and
not the ones that are in the taskbar.

Thanks
Technical Details
Message-ID: <45c11e55$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!news.osn.de!diablo2.news.osn.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3994b9dccccaa5ca,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 31 Jan 2007 17:56:11 -0500
From: Star <noemai@noemail.com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Dual monitors. Minimize all window from one of them
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 209.227.134.122
Message-ID: <45c11e55$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1170284117 209.227.134.122 (31 Jan 2007 14:55:17 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!news.osn.de!diablo2.news.osn.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail