diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-14 15:19:34 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-14 15:19:34 -0400 |
| commit | 72375c7ef18e6e51287f92bdcfda3fbb85a03af2 (patch) | |
| tree | c087294e11a1fe4149f18de7d3d8f60b350b0554 | |
| parent | cf604f7b05bf003f0cb9a28980960baf1271ebbc (diff) | |
Made Windows container transparent. Transparency not completely functioning yet...
| -rw-r--r-- | redo/container_windows.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
