Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SetLayeredWindowAttributes

Status
Not open for further replies.

MrVB50au

Programmer
Mar 16, 2003
326
AU
As Win98 doesn't support most dll calls like Win2000 and WinXP, the declaration below can't be found.

Is there away around this?

Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hWnd As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Thanks,

Andrew G.
 
But Win98 DOES support all dll calls if the function called actually exists. The function you're talking about only exists in Win 2000/XP.

The only way around it would be to capture bitmaps of the form and whatever windows are below the form, do a manual blend of the bitmaps and then draw the resulting bitmap to the form. Not very useful though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top