Good to know :) 1.Do u know how to get the HWND(is there a way to get the HWND from HGDIOBJ?)
Its looks quit easy under win32: // Set WS_EX_LAYERED on this window SetWindowLong(hwnd, GWL_EXSTYLE, GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED); // Make this window 70% alpha SetLayeredWindowAttributes(hwnd, 0, (255 * 70) / 100, LWA_ALPHA); The problem is how to get this mechanism to GTK+ or better to cairo? Target function: cairo_set_source_rgba Is it possible to get the hwnd from cairo_t struct? Any advise will be helpfull cause i dont know where to start. regards. Tor Lillqvist wrote: > > Wolfman writes: > > Is there a other way to make a window transparent? And why this > > doesnt work under WinXP? > > Windows with alpha aren't implemented in gdk/win32. Patches > welcome. Look for "layered windows" in MSDN. > > --tml > > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > -- View this message in context: http://www.nabble.com/GTK%2B-PopUp-Window-make-it-Transparent...-tf2139080.html#a5903858 Sent from the Gtk+ - Apps Dev forum at Nabble.com. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list