home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5483 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.1 KB

  1. Path: sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!menudo.uh.edu!usenet
  2. From: qiu@tree.egr.uh.edu (Feng Qiu)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: How do you use CScrollBar class in a dialog box ?
  5. Date: 29 Jan 1993 02:48:50 GMT
  6. Organization: University of Houston
  7. Lines: 19
  8. Message-ID: <1ka5uiINNm25@menudo.uh.edu>
  9. Reply-To: qiu@tree.egr.uh.edu
  10. NNTP-Posting-Host: oak.egr.uh.edu
  11.  
  12.  
  13. I am programming using C++ 7.0 and  Microsoft Fundation Class.
  14.  
  15. I have a problem in using scroll bar in a dialog box. The problem is
  16. that before the dialog box is poped up I want adjust the position of
  17. the scroll bar contained in the dialog box to the right position I want it 
  18. to be. I did this in OnInitDialog() using member function provided with 
  19. CScrollBar class but it does not work. The position of the scroll bar is 
  20. still at minimum position after the  dialog box has poped up.
  21.  
  22. The dialog box is a subclass of CModalDialog and the scroll bar is of
  23. class CScrollBar.
  24.  
  25. Dose anyone knows why?
  26.  
  27. I'd appreciate your response. 
  28. if it is possible, lease send your reply to qiu@tree.egr.uh.edu
  29.  
  30. Feng
  31.