Results 1 to 2 of 2

Thread: argh! scrollbars...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    30

    Talking

    ehm, howto remove the scrollbars of a listbox?!?
    Currently using VB6 Enterprise, but VC++ is much better for API ( )!

  2. #2
    Guest
    I'm in skool right now, so I can't test it.
    But try this:

    Code:
    Private Declare Function ShowScrollBar Lib "user32" _ 
    (ByVal hwnd As Long, ByVal wBar As Long, _ 
    ByVal bShow As Long) As Long 
    
    Private Const SB_BOTH = 3 
    Private Const SB_HORZ = 0 
    Private Const SB_VERT = 1 
    
    Private Sub Command1_Click() 
    ShowScrollBar List1.hwnd, 3, False 
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width