Ctl3dColorChange function

Handles system color changes for applications that use CTL3D.

Syntax

BOOL Ctl3dColorChange(void);

Parameters

This function has no parameters.

Return value

Returns TRUE if the function succeeds; otherwise, it returns FALSE.

Remarks

This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.

This function should be called in the application's main window procedure for the WM_SYSCOLORCHANGE message, as shown below.

Examples

case WM_SYSCOLORCHANGE:
   Ctl3dColorChange();
   break;

Requirements

Requirement Value
DLL
Ctl3d32.dll