🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2435

How do you use CScrollBar class in a dialog box ?

#2435
From: Feng Qiu
Date: Fri, 29 Jan 1993 02:48
19 lines
1184 bytes
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
Technical Details
Message-ID: <1ka5uiINNm25@menudo.uh.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!menudo.uh.edu!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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