You set default attributes for all styles by changing STYLE_DEFAULT
then calling SCI_STYLECLEARALL.
Neil
> So, sure, I can call SCI_STYLESETBACK on styles 0 through STYLE_MAX.
> That doesn't seem to do the trick in an empty scintilla control (with
> no text displayed). Should it?
Yes.
> My reading of SCI_STYLESETBACK is
> that it changed properties of text having that style, not of the whole
> of the background of an eidt box.
All elements of the client area are drawn with numbered styles
although this may be modified by other features such as the cart line
and markers.
Neil