Solved

Gray a Scrollbar

Posted on 1998-07-22
3
350 Views
Last Modified: 2013-11-20
I'm using CScrollView and would like the scrollbar gray out instead of hiding when the displayed picture is smaller than the Window that displays it (no scrolling required). But how do I do that?
0
Comment
Question by:Mr_Bean
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
gelbert earned 50 total points
Comment Utility
Try next:
Get handle of the scroll bar and call EnableWindow( hScrollBar, FALSE ).
0
 
LVL 8

Expert Comment

by:gelbert
Comment Utility
I mean it to be a comments, not answer
0
 

Author Comment

by:Mr_Bean
Comment Utility
I solved the problem myself:

EnableScrollBar( SB_HORZ, ESB_DISABLE_BOTH );
(only wanted the Horizontal scroll to be grayed)

But thanks for the effort!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

13 Experts available now in Live!

Get 1:1 Help Now