[python-win32] make a window transparent using win32?

Tim Roberts timr at probo.com
Thu Dec 30 19:19:59 CET 2010

reckoner wrote:
> by the way, quick question, do you know of a way to "get" the extended 
> style bits? I haven't been able to find anything on MSDN. In other 
> words, if I do as you suggest below for a few windows, how can I query 
> those windows again to see if those bits that I previously set using 
> SetWindowLong() are indeed set?

I think you're going to feel foolish when you hear the answer.  The fact
that SetWindowLong exists should suggest rather strongly that there must
be a GetWindowLong.  And, in fact, there is.

  win32gui.GetWindowLong(handle, win32con.GWL_EXSTYLE)

Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

More information about the python-win32 mailing list