Jump to content

Recommended Posts

Posted

Hi,

Is there a way to get the transparent value of a window?

I want to create a hot key that toggle the transparency of the active window.

When clicking the hot key, I want to check the transparency state of the window in order to know if I need to make it transparent or make it opaque.

I guess I need the function WinGetTrans, but there isnt one

Is there any way to do it?

Thanks,

Tal.

Posted (edited)

GetLayeredWindowAttributes API.

Search the forum for that, or if there's none, pretty easy to write a proper DllCall wrapper on your own for it. I think I had it in one of my private applets, but can't find it atm.

Edited by Siao

"be smart, drink your wine"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...