Partager via


IMsTscAx::get_HorizontalScrollBarVisible

This method retrieves a Boolean value that indicates whether the control is displaying a horizontal scroll bar.

HRESULT get_HorizontalScrollBarVisible(
  BOOL* pfHScrollVisible
);

Parameters

  • pfHScrollVisible
    [out] Pointer to a Boolean value that specifies whether a horizontal scroll bar is visible in the current control. It is TRUE if the bar is visible, FALSE otherwise.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Remarks

The control automatically displays a horizontal scroll bar if the width of the control is less than the desktop width.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

IMsTscAx

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.