Re: GTK+ PopUp Window make it Transparent...
- From: Wolfman <murat sari team-bytestorm com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GTK+ PopUp Window make it Transparent...
- Date: Mon, 21 Aug 2006 03:03:56 -0700 (PDT)
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]