home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!mips!news.cs.indiana.edu!uceng.uc.edu!bmeranda
- From: bmeranda@uceng.UC.EDU (Brent E Meranda)
- Subject: Scrollbars in MDI Client Area
- Message-ID: <1992Aug17.215417.23541@uceng.UC.EDU>
- Keywords: But only when needed
- Organization: College of Engineering, University of Cincinnati
- Date: Mon, 17 Aug 1992 21:54:17 GMT
- Lines: 15
-
- I would like to be able to create a CMDIFrameWnd using the MFC
- that will display scrollbars if and only if the child windows
- will not fit on in the client area (similar to Program Manager or
- File Manager).
-
- I have been able to get scrollbars to appear and work using
-
- CWnd::FromHandle(m_hWndMDIClient)->ShowScrollBar(SB_BOTH,TRUE);
-
- the scrollbars disappear when not needed anymore (after being used)
- but appear even if not needed.
-
- How do I determine if scrollbars are necessary?
-
- Post or send responses to bmeranda@uceng.uc.edu.
-