Solved

How to add a scrollbar to a dialog

Posted on 1998-08-20
2
165 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
Comment Utility
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
Comment Utility
You pointed to a good idea
Thanks a lot.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

12 Experts available now in Live!

Get 1:1 Help Now