home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!menudo.uh.edu!usenet
- From: qiu@tree.egr.uh.edu (Feng Qiu)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: How do you use CScrollBar class in a dialog box ?
- Date: 29 Jan 1993 02:48:50 GMT
- Organization: University of Houston
- Lines: 19
- Message-ID: <1ka5uiINNm25@menudo.uh.edu>
- Reply-To: qiu@tree.egr.uh.edu
- NNTP-Posting-Host: oak.egr.uh.edu
-
-
- I am programming using C++ 7.0 and Microsoft Fundation Class.
-
- I have a problem in using scroll bar in a dialog box. The problem is
- that before the dialog box is poped up I want adjust the position of
- the scroll bar contained in the dialog box to the right position I want it
- to be. I did this in OnInitDialog() using member function provided with
- CScrollBar class but it does not work. The position of the scroll bar is
- still at minimum position after the dialog box has poped up.
-
- The dialog box is a subclass of CModalDialog and the scroll bar is of
- class CScrollBar.
-
- Dose anyone knows why?
-
- I'd appreciate your response.
- if it is possible, lease send your reply to qiu@tree.egr.uh.edu
-
- Feng
-