Juhu got Alpha working :) static gboolean expose(GtkWidget *widget, GdkEventExpose *event, gpointer userdata) { cairo_t *cr = gdk_cairo_create(widget->window);
HWND hwnd = (HWND)gdk_win32_drawable_get_handle (widget->window); SetWindowLong(hwnd, GWL_EXSTYLE, GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED); SetLayeredWindowAttributes(hwnd, 0, (255 * 70) / 100, LWA_ALPHA); Have u an ICQ UIN? -- View this message in context: http://www.nabble.com/GTK%2B-PopUp-Window-make-it-Transparent...-tf2139080.html#a5904163 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