🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem with global hook?

#131
From: Remy Lebeau (TeamB)
Date: Thu, 12 Jun 2008 16:34
16 lines
1730 bytes
"Bob Gonder" <none@nowhere.invalid> wrote in message 
news:8ce2545biafpgdrnirg8be2bto3cragih3@4ax.com...

> Just a guess, but from the following link, you should be clearing
> the WS_EX_LAYERED bit instead of changing the alpha to 255.

Although I would typically agree with that, you do have to take into account 
that an app may already be using WS_EX_LAYERED for its own purposes, so 
messing with that style manually might have undesirable effects. It may be 
better for the DLL to keep track of which windows did not already have 
WS_EX_LAYERED applied so that it knows which windows it can safely remove 
WS_EX_LAYERED from.


Gambit 
Technical Details
Message-ID: <48515576$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <bhxmq2m9ts12.1p5w7pvxgm2as.dlg@40tude.net> <8ce2545biafpgdrnirg8be2bto3cragih3@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,72542b542452aa66
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <bhxmq2m9ts12.1p5w7pvxgm2as.dlg@40tude.net> <8ce2545biafpgdrnirg8be2bto3cragih3@4ax.com>
Subject: Re: Problem with global hook?
Date: Thu, 12 Jun 2008 09:34:06 -0700
Lines: 18
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 207.178.157.90
Message-ID: <48515576$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1213289846 207.178.157.90 (12 Jun 2008 09:57:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail