On Wed, 5 Jul 2006 18:32:30 -0500, "Metz, Bobby W, WWCS"
<[EMAIL PROTECTED]> wrote:

>All,
>       This is my first attempt with setting transparent backgrounds,
>so probably simple error.  I've had some success making Notepad
>transparent, but am getting no results against a Tkinter window.  Also,
>any workaround to using SetLayeredWindowAttributes on Win2000?  I
>noticed in the docs it's not in win32gui to prevent issues with NT?
>


SetLayeredWindowAttributes depends on having the target window respond
in a standard way to the normal window messages.  Tk does ALL of its own
drawing -- every single pixel.  It doesn't use the native OS UI services
for anything.  My guess is THAT'S why SetLayeredWindowAttributes fails.

You may have to wait until Vista to get transparent Tk windows.

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to