|
-
July 13th, 2005, 06:45 AM
#1
SetLayeredWindowAttributes not recognized!
HI all,
I am trying to use the function SetLayeredWindowAttributes() but unfortunately MSVC doesn't recognize it
I use VC++v6.0 with Windows Server 2003 SP1 SDK installed.
i have also include windows.h, user32.lib as defined in MSDN, but no hope.
What could be the problem?
-
July 13th, 2005, 07:01 AM
#2
Re: SetLayeredWindowAttributes not recognized!
did u install the latest Platform SDK ?
-
July 13th, 2005, 07:03 AM
#3
Re: SetLayeredWindowAttributes not recognized!
SetLayeredWindowAttributes is defined in winuser.h inside a conditional statement. Define _WIN32_WINNT to be at least 0x0500 and it should work.
-
July 13th, 2005, 07:17 AM
#4
Re: SetLayeredWindowAttributes not recognized!
Hey MarcG,
Your suggestion worked!
Thanks
-
July 13th, 2005, 09:16 AM
#5
Re: SetLayeredWindowAttributes not recognized!
You are welcome. 
Don't forget that layered windows only work on Windows 2000, XP or later.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|