Jerry Evans | 2 Jun 2009 14:41
Favicon

Background colors?


I am using Scintilla 177 built as a static Win32 library using VC++
2008 in an MFC view.

What is the simplest way to change the background window color? This
means regions from left to right margin, top to bottom. I can see some
code in

void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea)
{
    // snip
    if (rcBeyondEOF.top < rcBeyondEOF.bottom)
    {
       surfaceWindow->FillRectangle(rcBeyondEOF, vs.styles
[STYLE_DEFAULT].back.allocated);
       // ... snip
       surfaceWindow->FillRectangle(rcBeyondEOF,
vs.edgecolour.allocated);
    }
}

Is vs.styles[STYLE_DEFAULT].back.allocated the key/approved setting
change here?

Thx++

Jerry.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To post to this group, send email to scintilla-interest <at> googlegroups.com
To unsubscribe from this group, send email to scintilla-interest+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/scintilla-interest?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane