?
Solved

How to add a scrollbar to a dialog

Posted on 1998-08-20
2
Medium Priority
?
171 Views
Last Modified: 2013-11-20
How can I add a horizontal scrollbar to a dialog.
Ok, I now how to add it visually but this scrollbar will always be visible.
I want the scrollbar to be visible only when not all the controls in the dialog are shown (as the normal behaviour should be)
0
Comment
Question by:de_vos_frank
[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
2 Comments
 
LVL 8

Accepted Solution

by:
Answers2000 earned 300 total points
ID: 1321079
Show/Hide the scroll bar using ShowWindow or flipping the style bit in the dialog (using ModifyStyle)

You have to write the logic yourself to do this.

Use MoveWindow to move the controls around.
0
 

Author Comment

by:de_vos_frank
ID: 1321080
You pointed to a good idea
Thanks a lot.
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

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 …
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.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

770 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