Hi, I got a error message when trying to use Dark mode, the message is:
---------------------------------------------------------------------------------------
System.ArgumentException: 值未落在預期的範圍內。
於 MarkdownNotepad.Editor.DwmSetWindowAttribute(IntPtr hwnd, DWMWINDOWATTRIBUTE attribute, Int32& pvAttribute, UInt32 cbAttribute)
於 MarkdownNotepad.Editor.darkToolStripMenuItem_Click(Object sender, EventArgs e)
於 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
於 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
於 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
於 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
於 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
於 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
於 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
於 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
於 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
於 System.Windows.Forms.ToolStrip.WndProc(Message& m)
於 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------------------------------------------------------------------
On Winodws 10 LTSC(ZH-TW), I can still use the program, but just can't switch to dark mode.
BTW, if your app need zh-TW and zh-CN translation, I can help.