InitializeFlatSB


Initializes flat scroll bars for a particular window.

BOOL InitializeFlatSB(
    HWND hwnd
);

Parameters

hwnd
Handle to the window that will receive flat scroll bars.

Return Values

Returns nonzero if successful, or zero otherwise.

Remarks

This API must be called before any other flat scroll bar APIs are called. The window will receive flat scroll bars by default. The scroll bar style can be changed with the FlatSB_SetScrollProp API.

Requirements

  Version 4.71 and later of Comctl32.dll

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later).
  Windows 95/98: Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later).
  Header: Declared in commctrl.h.
  Import Library: comctl32.lib.