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 
> > but if you welcome it, I will finish it > > @memoarfaa, do you still plan to finish this? Yes I will finsh it after one week >...
@cyanfish @Zheng-Li01 Is this what is required? This took some effort but the appearance change at runtime is required. https://github.com/user-attachments/assets/b9713b31-991f-42a4-bd7c-fe114cc4f39c
@KlausLoeffelmann @merriemcgaw @JeremyKuhne I am almost done and I will open a discussion to clarify the backgrounds as you requested. There is no public api but I will clarify why...