bgColor

Syntax

int bgColor

Description

The currently chosen background color value in the host application (ie Photoshop, Paint Shop Pro).

Example

%fml
ctl[0]: OWNERDRAW, Size=(50,50), Pos=(240,3)
ctl[1]: OWNERDRAW, Size=(50,50), Pos=(300,3)
ctl[2]: STATICTEXT, Text="Foreground", Pos=(240, 55)
ctl[3]: STATICTEXT, Text="Background", Pos=(300, 55)

OnFilterStart: {
  setCtlColor(0, fgColor);
  setCtlColor(1, bgColor);
  return true;
}

See Also

fgColor, setCtlColor