Link to home
Start Free TrialLog in
Avatar of CyberKnight
CyberKnight

asked on

Layered Windows - GetLayeredWindowAttributes ?

Does anyone know how to use the GetLayeredWindowAttributes
function, ....to GET the values of a currently Layered Window ?

Thanx
ASKER CERTIFIED SOLUTION
Avatar of smot
smot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CyberKnight
CyberKnight

ASKER

Hi Tom...

Im using Delphi 5 on a Win2000 system.
For some strange reason, it doesnt meet the condition

"if hUser32 <> 0 then"

It goes into the "else"

I thought that the function was available on a Win2000 system. Am I doing somthing wrong ?

Thanx.
That function is not available for Win2k. Only for XP.
I think it will meet the "if hUser32 <> 0 then" condition because that DLL is certainly available on Win2k.  I guess you mean the "if @GetLayeredWindowAttributes <> nil then" condition.
Yep, thats right...
I meant that execution doesnt get into the "if @GetLayeredWindowAttributes <> nil " condition.

I thought that this function did exist in Win2K, since the SetLayeredWindowAttributes does.

Its a shame that it doesnt.

CyberKnight:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

accept smot's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

geobul
EE Cleanup Volunteer