VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Determine if a control's scrollbars are visible

chabber  (2 Submissions)   Miscellaneous   Visual Basic 5.0   Beginner   Wed 3rd February 2021

Use this function to determine if the scrollbars on a control are visible.

API Declarations
'API Constants
Private Const GWL_STYLE = (-16)
Private Const WS_HSCROLL = &H100000
Private Const WS_VSCROLL = &H200000
'API Declarations
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Rate Determine if a control's scrollbars are visible (4(4 Vote))
Determine if a control's scrollbars are visible.bas

Determine if a control's scrollbars are visible Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters