COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 06-03-2019, 01:35 PM   #1
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,689
Default How to set transparency of swell window on macOS

According to what I've read on the web, this should work:
(hwnd is a top-level window with a GWL_STYLE of WS_THICKFRAME)
Code:
NSWindow* window = (NSWindow*)hwnd;
[window setAlphaValue:opacity];
[window setOpaque:NO];
However, instead of affecting the entire window, only some parts (probably some child windows) are changed, and instead of becoming transparent (i.e. showing other windows underneath) these parts fade to opaque white.
juliansader is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.