please dont rip this site Prev Next

ShowScrollBar info  Overview  Group

The ShowScrollBar function shows or hides the specified scroll bar.

BOOL ShowScrollBar(

    HWND hWnd,

// handle of window with scroll bar

    int wBar,

// scroll bar flag

    BOOL bShow 

// scroll bar visibility flag

   );

Parameters

hWnd
Identifies a scroll bar control or a window with a standard scroll bar, depending on the value of the wBar parameter.
wBar
Specifies the scroll bar(s) to be shown or hidden. This parameter can be one of the following values:

Value

Meaning

SB_BOTH

Shows or hides a window’s standard horizontal and vertical scroll bars.

SB_CTL

Shows or hides a scroll bar control. The hWnd parameter must be the handle of the scroll bar control.

SB_HORZ

Shows or hides a window’s standard horizontal scroll bars.

SB_VERT

Shows or hides a window’s standard vertical scroll bar.

bShow
Specifies whether the scroll bar is shown or hidden. If this parameter is TRUE, the scroll bar is shown; otherwise, it is hidden.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

You should not call this function to hide a scroll bar while processing a scroll bar message.

See Also

EnableScrollBar 


file: /Techref/os/win/api/win32/func/src/f85_12.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/20 06:18,
TOP NEW HELP FIND: 
18.119.29.246:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/os/win/api/win32/func/src/f85_12.htm"> ShowScrollBar</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .