Solved

Always display ScrollBar of ListBox ?

Posted on 1999-01-29
1
418 Views
Last Modified: 2013-11-20
Hi experts
I'm using VC++5.0 on WindowsNT4.0 SP3.
I'd like to make vertical and horizontal ScrollBar of ListBox control displayed always, even when the items of ListBox are insufficient to automatically display ScrollBar
by its own mechanism.
Of course, when the items of ListBox are insufficient to display ScrollBar, I'd like to make it disabled even being displayed.
Can it be possible ?
Any comment will be appreciated
0
Comment
Question by:okg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 31

Accepted Solution

by:
Zoppo earned 20 total points
ID: 1328467
Apply the LBS_DISABLENOSCROLL, WS_HSCROLL and WS_VSCROLL style to your ListBox.

hope that helps,

ZOPPO
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question