Solved

Always display ScrollBar of ListBox ?

Posted on 1999-01-29
1
419 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

631 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