🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Several ways to define 2 system-wide hotkeys, without to install keyboard-hook..

#8171
From: Remy Lebeau (TeamB)
Date: Fri, 19 Nov 2004 23:01
16 lines
1845 bytes
"Oren Halvani" <Spam@Me-Please.com> wrote in message
news:419e6631@newsgroups.borland.com...

> now i get only 2 windows and they are in the SystemTray
> NOT in the TaskBar...what do i do again wrong ?

Windows are not required to display a TaskBar button.  They can hide it.
There isn't really any sure-fire way to detect whether a given window has a
TaskBar button present or not.  I supposed what you could do is find the
window's top-level parent window (if it has one) and then use
IsWindowVisible().  Top-level visible app windows usually have a TaskBar,
and simply hiding the window usually hides the TaskBar as well.


Gambit
Technical Details
Message-ID: <419e7adc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <419ceea1@newsgroups.borland.com> <419cf173$1@newsgroups.borland.com> <419d2c69$1@newsgroups.borland.com> <419d3e01$1@newsgroups.borland.com> <419d8ce4@newsgroups.borland.com> <419dc340@newsgroups.borland.com> <419e5561$1@newsgroups.borland.com> <419e5ecc$1@newsgroups.borland.com> <419e6631@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9a94ec9a8ef193c6
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: <419ceea1@newsgroups.borland.com> <419cf173$1@newsgroups.borland.com> <419d2c69$1@newsgroups.borland.com> <419d3e01$1@newsgroups.borland.com> <419d8ce4@newsgroups.borland.com> <419dc340@newsgroups.borland.com> <419e5561$1@newsgroups.borland.com> <419e5ecc$1@newsgroups.borland.com> <419e6631@newsgroups.borland.com>
Subject: Re: Several ways to define 2 system-wide hotkeys, without to install keyboard-hook..
Date: Fri, 19 Nov 2004 15:01:36 -0800
Lines: 18
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: <419e7adc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100905180 68.69.17.41 (19 Nov 2004 14:59:40 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail