I am trying to test the SetLayeredWindowAttributes API. My declare is:but when I try to call the function, I get an error that says:VB Code:
Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hWnd As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As LongWhen looking through user32.dll with Microsoft's Depends Viewer and AXE (hex editor), I can't find SetLayeredWindowAttributes anywhere. Is it declared in another dll or is it just non-existent (I am running Win ME)? I have tried looking through kernel32.dll and gdi32.dll (with Depends Viewer and AXE) and can't find it in either of those."Can't find DLL entry point SetLayeredWindowAttributes in user32"




Reply With Quote