Automatically updates a window when the system colors change.

Syntax

SRP_Set_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_Set_SysColorChange(@Window)
  • No labels