TWidgetSet.SetBkMode function
Sets the background mix mode (transparency) of an device context.
Declaration
function SetBkMode(DC: HDC; bkMode: Integer): Integer; virtualArguments
DC | The device context. |
bkMode | The new background mode. |
Function result
The previous background mode, zero on failure.
Description
The background mode specifies the handling of non-solid painting objects, like text, hatched brushes or dotted pens.
- OPAQUE mode fills the affected painting area with the background color before painting the foreground.
- TRANSPARENT mode leaves the background unchanged.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
