Color of selection while window is inactive

Topics: User Forum
Jul 5, 2013 at 7:41 PM
I know that we can change the color of selected text but only if the window is active.
When the window is inactive the color of the selection will change (depending on the theme in windows I think) to gray.
In Windows Notepad the color of the selection will not change. Here is a screenshot where both Notepad and ScintillaNET windows are inactive:


Is it possible to keep the selection color in ScintillaNET while the window is inactive?
Jul 9, 2013 at 4:09 AM
I believe the properties you're looking for are called Scintilla.Selection.BackColorUnfocused and Scintilla.Selection.ForeColorUnfocused.

Jul 9, 2013 at 8:03 PM
Oh, how could I miss that.
Thanks :)