Jump to content
Sign in to follow this  
okdewit

WinGetTrans?

Recommended Posts

okdewit

Im trying to GET the window transparency of already existing windows.

In other words: if some tool or script has set the transparency of notepad to a value of 230, I want to do something like WinGetTrans("Notepad") to retrieve that number.

Im using:

_WinAPI_GetWindowLong($notepadhandle, $GWL_EXSTYLE), $WS_EX_TOPMOST)

(read that trick on this forum)

to get the state of a window "On Top" state, but I would like to retrieve the transparency setting as well.

Thanks in advance if you can help me out!

Share this post


Link to post
Share on other sites
Yashied

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.