Jump to content

Recommended Posts

  • Moderators
Posted

Merchants,

Scrollbars are there to scroll content which exceeds the visible area - why do you want one when there is no such requirement? :huh:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Solution
Posted (edited)

Just add $LBS_DISABLENOSCROLL style:

$mylist = GUICtrlCreateList("buttons that have been clicked", 176, 32, 121, 97, BitOr($GUI_SS_DEFAULT_LIST, $WS_VSCROLL, $LBS_DISABLENOSCROLL ))

from helpfile:

  Quote
LBS_DISABLENOSCROLL 0x1000 - Shows a disabled vertical scroll bar for the list box when the box does not contain enough items to scroll. If you do not specify this style, the scroll bar is hidden when the list box does not contain enough items.

 

Edited by Zedna

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...