Selastin

Results 30 comments of Selastin

In Windows, I use the following method: ``` use windows_sys::Win32::Graphics::Dwm::*; use windows_sys::Win32::Foundation::*; use tauri::{Theme,WebviewWindow}; pub fn set_window_theme(window:&WebviewWindow,theme:Theme) { unsafe { let handle = window.hwnd().unwrap().0; let value: BOOL = if theme...

The How can i get access to the WndProc, will sub classing work ? Why is it not possible to create a transparent window, i just added used the SetWindowCompositionAttribute()...

When i checked the window with Spy++ i found that the child window hosted inside the parent is uses class `Microsoft.UI.Hosting.Experimental.ContentWindowBridge`, when i checked the caption of window this shows...

> > We're currently working on fixing this. The plan is that instead of having that background color always be white it will instead be white or black depending on...

Actually i fixed the flickering issue in WPF by overriding the WndProc. Responding to WM_NCCALCSIZE with any RECT smaller than the window solves the problem. But i don't know it...

I Know this is not the question i should ask in this thread, but it's just a small doubt ,I was also trying to implement transparent background and acrylic effect...

> @nathanAjacobs You can try the [`WS_EX_NOREDIRECTIONBITMAP`](https://docs.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles) style, enabling that style will cause your window doesn't have a background at all (it won't affect the window frame and the title...

Actually you can remove the complete background, like this: ![image](https://user-images.githubusercontent.com/72641365/171815680-768913d0-a84a-41ba-bff2-5de2f7ef5e6d.png) Try this : https://github.com/microsoft/microsoft-ui-xaml/issues/1247#issuecomment-653373428

Is this resolved?, I'm having same CORS issue.