![]() Private IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled) (byte)(opaque ? 255 : params.ColorizationColor > 24), Var params = NativeMethods.DwmGetColorizationParameters() Private static Color GetWindowColorizationColor(bool opaque) Throw new InvalidOperationException("Could not get window handle.") If ((hwnd = new WindowInteropHelper(this).Handle) = IntPtr.Zero) Private void Window_SourceInitialized(object sender, EventArgs e) We have: const int WM_DWMCOLORIZATIONCOLORCHANGED = 0x320
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |