Mohmed abdel-fattah

Results 25 comments of 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 ![2023-09-02_14-22-22](https://github.com/Aldaviva/DarkNet/assets/12494184/f4ecd486-db68-4350-a0db-49b1c8e35fc2) ![2023-09-02_14-40-10](https://github.com/Aldaviva/DarkNet/assets/12494184/688e5feb-e2ac-414f-9566-05ee92769980) ![2023-09-02_14-13-44](https://github.com/Aldaviva/DarkNet/assets/12494184/837f8814-bb43-4372-898b-c57df435a7e3)

@Aldaviva Thank you I get it worked ![2023-09-04_00-27-36](https://github.com/Aldaviva/DarkNet/assets/12494184/d489106f-0b4b-4de0-8784-ff064a5487ce)