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
Solved

Always display ScrollBar of ListBox ?

Posted on 1999-01-29
1
416 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 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
Generic progress indicator 6 117
ShiftLeft challenge 21 84
ASP.NET C# MessageBox.Show Showing a modal dialog box or form when the application ... 2 160
Problem to open Excel file 15 172
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: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.

790 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