Article View: borland.public.cppbuilder.nativeapi
Article #10125Re: Hiding windows in the taskbar
From: Remy Lebeau (TeamB)
Date: Mon, 17 May 2004 17:35
Date: Mon, 17 May 2004 17:35
31 lines
2039 bytes
2039 bytes
"Mortz" <rmorteo@hotmail.com> wrote in message
news:40a8f5c1@newsgroups.borland.com...
> Is this possible? Is this the best way to do it?
Use the ITaskBarList interface instead.
ITaskbarList Interface
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/ifaces/itaskbarlist/itaskbarlist.asp
> I've also looked at the CreateDesktop/SwitchDesktop functions,
> how ever is not clear for me if you can actually create any number
> of desktops and indistinctly display selected applications on each
> desktop
Yes.
> and if you can redirect applications from one desktop to any
> other (so the app can be shared among desktops).
Although you can change the Desktop of a thread, even the main thread, I
would not recommend doing so for a GUI application because of the resources
involved. It is best to just run an application under a single Dekstop and
leave it there. You can have multiple instances of the same application
running under different Desktops and have them communicate with each other
when needed.
Gambit
Technical Details
Message-ID:
<40a8f918$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40a8f5c1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,353ec6e9637dda49 X-Google-Attributes: gid10cc67,public From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40a8f5c1@newsgroups.borland.com> Subject: Re: Hiding windows in the taskbar Date: Mon, 17 May 2004 10:35:22 -0700 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.138.253 Message-ID: <40a8f918$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1084815640 67.22.138.253 (17 May 2004 10:40:40 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail