🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TaskBar Resizing

#7679
From: Marc
Date: Fri, 07 Jan 2005 16:13
19 lines
1506 bytes
Hi

I am trying to resize the Windows(XP) taskbar.  I am currently 
running 2048x768 across 2 monitors.  I would like to 
programatically resize the taskbar to a single screen (1024 
wide)  I can detect all info, IE: number of monitors, their 
size etc... Now when I get the handle to the taskbar and call a 
Move window with its new parameters it does nothing, I also 
tried sub-classing the taskbar through hooks, this makes my 
taskbar flash, but it gets resized to its full length.


Can this be done?????

Any ideas and suggestions are welcomed.

Thanks for your time
Marc
Technical Details
Message-ID: <41deb518$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7db5658f04973d9a,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc" <bukwheat@axess.com>
Sender: "Marc" <bukwheat@axess.com>
Reply-To: "Marc" <bukwheat@axess.com>
Subject: TaskBar Resizing
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 138.11.254.204     
X-Forwarded-For: unknown
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41deb518$1@newsgroups.borland.com>
Date: 7 Jan 2005 08:13:12 -0800
X-Trace: newsgroups.borland.com 1105114392 207.105.83.66 (7 Jan 2005 08:13:12 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail