From 72375c7ef18e6e51287f92bdcfda3fbb85a03af2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 14 Aug 2014 15:19:34 -0400 Subject: Made Windows container transparent. Transparency not completely functioning yet... --- redo/container_windows.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'redo') diff --git a/redo/container_windows.c b/redo/container_windows.c index 30838b4..f92459c 100644 --- a/redo/container_windows.c +++ b/redo/container_windows.c @@ -58,7 +58,7 @@ DWORD makeContainerWindowClass(char **errmsg) wc.hInstance = hInstance; wc.hIcon = hDefaultIcon; wc.hCursor = hArrowCursor; - wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); + wc.hbrBackground = NULL;//(HBRUSH) (COLOR_BTNFACE + 1); wc.lpszClassName = containerclass; if (RegisterClassW(&wc) == 0) { *errmsg = "error registering container window class"; @@ -72,7 +72,7 @@ HWND newContainer(void *data) HWND hwnd; hwnd = CreateWindowExW( - WS_EX_CONTROLPARENT, + WS_EX_CONTROLPARENT | WS_EX_TRANSPARENT, containerclass, L"", WS_CHILD | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, -- cgit v1.2.3