Solved

How to add a scrollbar to a dialog

Posted on 1998-08-20
2
166 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
2 Comments
 
LVL 8

Accepted Solution

by:
Answers2000 earned 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
string initialization in java 11 110
centeredAverage challenge 8 130
FizzBuzz challenge 9 76
Remove Password Protection from pdf (with password) using an command line executable 5 25
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

21 Experts available now in Live!

Get 1:1 Help Now