Mohmed abdel-fattah
Mohmed abdel-fattah
@AndnixSH @Aldaviva To enable dark scrollbars natively in WinForm you need to use "SetWindowTheme" function [https://learn.microsoft.com/en-us/windows/win32/api/uxtheme/nf-uxtheme-setwindowtheme](url) ` [DllImport("uxtheme.dll", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Unicode)]` `public static extern...
@Aldaviva Can you support Dark built in ScrollBar of MdiClient and Dark TreeView ``` Controls.Cast().ToList().ForEach(control => { if (control.GetType().Name == nameof(MdiClient)) { SetWindowTheme(control.Handle, "DarkMode_Explorer", "ScrollBar"); } else if(control.GetType().Name == nameof(TreeView))...
@Aldaviva @AndnixSH ``` [DllImport("user32.dll", CharSet = CharSet.Auto)] public static extern IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, int lParam); Controls.Cast().ToList().ForEach(control => { if (control.GetType().Name == nameof(MdiClient) | control.GetType().BaseType.Name == nameof(ScrollBar))...
@Aldaviva D you now how to change the background color of the text and icon of message boxes   
@Aldaviva Thank you I get it worked 