|
-
June 1st, 1999, 12:09 AM
#2
Re: How to show or hide a scrollbar dynamically in CScrollView?
I used:
CRect TotalSize = GetClientRect()
SetScaleToFitSize(CSize(TotalSize.right,TotalSize.right))
and it worked.
I don´t know if there is a better method or if it works with splitter windows.
This function only sets the scroll size to the full window automatically. To show the scroll bars again use SetScrollSize(MM_TEXT,myDocSize).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|