A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
2 posts • Page 1 of 1
Is there a way to control the background and foreground colors of the CTextEdit control? Our edit controls look fine displaying their values, but some users are having trouble reading them when selecting and editing the values. (Is this controlled by the user's system highlight color?)
It does indeed appear to be controlled by the system, at least to some extent. Cubase and Logic use the system's highlight color, which by default is a pale color that nearly matches our blue LED-like font colors (on black backgrounds normally), so when the text is selected, it becomes hard to see. Studio One, on the other hand, appears to change the edit control behavior somehow, so that the user's highlight color gets set as the *foreground* color when the text is selected. So if the user selects a highlight color which contrasts nicely with our font color for Cubase, then in Studio One it may become *harder* to read! I don't see any code in the SDK where we could step in and change the platform-specific edit control behavior, though.