[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

How to add a scrollbar to a dialog

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
de_vos_frank
Asked:
de_vos_frank
1 Solution
 
Answers2000Commented:
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
 
de_vos_frankAuthor Commented:
You pointed to a good idea
Thanks a lot.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now