
#QUOTWINDOWMANAGER FULL#
SetLayeredWindowAttributes(w.winId(), color, 0, just happened? IDK D: but now when you display your app the widget area is completely transparent while retaining the full WM frame and functionality, this also brings the glass effect down 32 pixels allowing you to do some pretty fun stuff on glass. Ok now once you've added that setup the (QtWin::isCompositionEnabled()) "
#QUOTWINDOWMANAGER HOW TO#
How to get this to work in aero? Well first we need to do some work with the DWM extension, so rather then writing this out with more hacks just use this: But if your using a standard theme you'll get a vanilla styled window with a functional frame. Just do this after assigning a pointer to your app class, here you can see mine is "w" and also using the winId() method to get a pointer to the WN(for windows its a GWL_EXSTYLE, WS_EX_LAYERED) Ĭonst COLORREF color = RGB(0, 255, if you run your application now one of two things will happen. Whats required is a window manager hack, in this case its tricking GDI to leave the frame alone while still using layer effects.įirst of all we setup the WM as a layered window.

So far from what i wanted but seeing as i fond a way around this i'll post for future reference. NET version i've made if you want to look, its under the "frame" tab: ĭid you try w.setWindowOpacity(0.5) ? Why/what i'm doing is building a screenshot utility where you can simply resize the window over what you wish capture and then hit print screen and have it do some automation with the image. For the sake of simplicity i'm not targeting multiple platforms, just win32 so any window manager dependent hacks are you can see i've tried every flag related to background there is yet it STILL stays a solid black, however if i extend the dwm glass to cover the entire app all the transparencys work fine.

Setting it as layered is pointless because then i'd have to build my own interface, which i do not want to do as my app needs to stay native to the OS.

I want to do the same thing in Qt but the problem is i have no idea how to set WM frame property. I've spent the last 8hrs trying to find a why to do this but basically with windows forms if you set a transparency key on the main window, everything with that color would then visually transparent.
