ScrollBar_Show macro (windowsx.h)

Shows or hides a scroll bar control.

Syntax

BOOL ScrollBar_Show(
   HWND hwndCtl,
   BOOL fShow
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

fShow

Type: BOOL

TRUE to show the control, or FALSE to hide it.

Return value

Type: BOOL

TRUE if the window was previously visible, or FALSE if it was previously hidden.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header windowsx.h