• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 134
  • Last Modified:

How to make scroll bars to the documents.

I wanna know how to make horizontal and vertical scroll bars to the documents if necessary?
Thanks
0
makoto_liang
Asked:
makoto_liang
1 Solution
 
pagladasuCommented:
Use the API:
ShowScrollBar(hwnd, SB_BOTH, TRUE);
where hwnd is the handle to the window for which you want the scrollbar.
You can use the GetSafeHwnd() function to obtain a handle to the window.

thanks,
pagladasu
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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