Solved

Always display ScrollBar of ListBox ?

Posted on 1999-01-29
1
413 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
1 Comment
 
LVL 30

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This video discusses moving either the default database or any database to a new volume.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now