PalDisableWindow

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean PalDisableWindow( SalWindowHandle hWnd )

The PalDisableWindow does the same thing as SalDisableWindow, with the difference that it disables a window only if it is enabled.

Parameters

Name Description
SalWindowHandle HWnd The handle (or name) of the window to disable.

Returns

The return value is TRUE if the function succeeds and FALSE if it fails.

Comments

It is better to use this method instead of SalDisableWindow because it avoids screen flicker.