Click here to Skip to main content
15,881,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFile modification notification Pin
Le centriste14-May-02 6:53
Le centriste14-May-02 6:53 
GeneralRe: File modification notification Pin
Chris Losinger14-May-02 7:09
professionalChris Losinger14-May-02 7:09 
GeneralPlaying MP3 ... Pin
Hadi Rezaee14-May-02 6:46
Hadi Rezaee14-May-02 6:46 
GeneralRe: Playing MP3 ... Pin
14-May-02 7:16
suss14-May-02 7:16 
QuestionHow to get the progress of searching database(VC++) Pin
14-May-02 6:36
suss14-May-02 6:36 
AnswerRe: How to get the progress of searching database(VC++) Pin
Bill Wilson14-May-02 8:39
Bill Wilson14-May-02 8:39 
GeneralScrollbars - How to get a certain style Pin
Roger Allen14-May-02 6:27
Roger Allen14-May-02 6:27 
GeneralRe: Scrollbars - How to get a certain style Pin
Stephen C. Steel16-May-02 12:15
Stephen C. Steel16-May-02 12:15 

Have a look at the MSDN documentation for the MFC CWnd member function CWnd::SetScrollInfo () (or the plain SDK function SetScrollInfo () which it invokes).

<br />
SCROLLINFO scroll_info;<br />
scroll_info.cbSize = sizeof (scroll_info);<br />
scroll_info.fMask  = SIF_PAGE | SIF_POS | SIF_RANGE;<br />
scroll_info.nMin   = min;<br />
scroll_info.nMax   = min;<br />
scroll_info.nPos   = position;<br />
scroll_info.nPage  = size_of_window;<br />
SetScrollInfo (SB_VERT, &scroll_info);<br />




Stephen C. Steel
Kerr Vayne Systems Ltd.


GeneralATL Web Service Question Pin
Ollie14-May-02 6:15
Ollie14-May-02 6:15 
GeneralVC7 simple prob Pin
Jon Hulatt14-May-02 6:11
Jon Hulatt14-May-02 6:11 
GeneralRe: VC7 simple prob Pin
dazinith14-May-02 7:55
dazinith14-May-02 7:55 
QuestionCHTMLView properties & JavaScript? Pin
iainbyoung14-May-02 6:10
iainbyoung14-May-02 6:10 
AnswerRe: CHTMLView properties & JavaScript? Pin
Niklas L14-May-02 22:45
Niklas L14-May-02 22:45 
GeneralRe: CHTMLView properties & JavaScript? Pin
iainbyoung15-May-02 2:27
iainbyoung15-May-02 2:27 
QuestionMenu dimensions? Pin
twomagiclovers14-May-02 5:34
twomagiclovers14-May-02 5:34 
AnswerRe: Menu dimensions? Pin
Roger Allen14-May-02 6:48
Roger Allen14-May-02 6:48 
GeneralCListCtrl LvnItemChanged() issues Pin
dazinith14-May-02 5:28
dazinith14-May-02 5:28 
GeneralRe: CListCtrl LvnItemChanged() issues Pin
Bill Wilson14-May-02 11:44
Bill Wilson14-May-02 11:44 
GeneralPrinting using gdi+ Pin
khaldoun14-May-02 5:13
khaldoun14-May-02 5:13 
GeneralDrawText and MM_HIMETRIC Pin
Braulio Dez14-May-02 5:12
Braulio Dez14-May-02 5:12 
GeneralRe: DrawText and MM_HIMETRIC Pin
David Salter14-May-02 9:24
David Salter14-May-02 9:24 
Generalmonthview control driving me mad Pin
benjymous14-May-02 5:08
benjymous14-May-02 5:08 
Generalan interesting design prob...no...situation Pin
14-May-02 4:52
suss14-May-02 4:52 
GeneralRe: an interesting design prob...no...situation Pin
Joaquín M López Muñoz14-May-02 5:00
Joaquín M López Muñoz14-May-02 5:00 
QuestionMFC class sets ownerdraw style? Pin
14-May-02 4:50
suss14-May-02 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.