You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Automatically updates a window when the system colors change.

Syntax

SRP_SysColorChange(Window)

Parameters

ParameterDescription
WindowFully qualified name of the window whose colors are to be updated when the system colors change

Remarks

Call this routine during the CREATE event of the window. Doing so will ensure that the window's colors immediately adjust to the new theme should the user change it while the application is running.

Example

* Force this window to update its system colors
SRP_SysColorChange(@Window)
  • No labels