IntControl 59

Syntax:

IntControl (59, p1, p2, 0, 0)

 

Sends a WM_SETTINGCHANGE message.

This IntControl sends a message to one or all application windows, informing them that a change has been made to the registry.

 

p1 = window handle of the window to send the message to, or -1 for all top-level windows.

 

p2 = name of the registry key that has been changed.  Specify only the leaf node in the registry, not the whole path, but this will be application-dependent.  You can specify a blank string ("") to request that the application re-read all sections or keys that affect it.

 

Returns @TRUE on success; @FALSE on error.