Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: stl Pin
Jeremy Pullicino12-Jun-01 2:19
Jeremy Pullicino12-Jun-01 2:19 
GeneralRe: stl Pin
Jeremy Pullicino12-Jun-01 2:22
Jeremy Pullicino12-Jun-01 2:22 
GeneralRe: stl Pin
markkuk12-Jun-01 21:05
markkuk12-Jun-01 21:05 
GeneralReset EOF Pin
11-Jun-01 3:46
suss11-Jun-01 3:46 
GeneralRe: Reset EOF Pin
Igor Sukhov11-Jun-01 5:30
Igor Sukhov11-Jun-01 5:30 
GeneralRe: Reset EOF Pin
12-Jun-01 2:49
suss12-Jun-01 2:49 
GeneralRe: Reset EOF Pin
markkuk12-Jun-01 21:19
markkuk12-Jun-01 21:19 
GeneralScrolling in a CDialog Pin
Derek Lakin11-Jun-01 3:10
Derek Lakin11-Jun-01 3:10 
I have searched the forums and the question appears to have been asked many times, but never really answered, so I'll try again.

I have a CDialog-derived class, within which I need to scroll a portion of the dialog's contents. My particular case is that the dialog box size has to be fixed because of a low screen resolution on the target PC, but the contents are variable so a number of controls are added dynamically at run-time.

I have placed a vertical scrollbar control on the dialog resource, but I am having trouble making everything work together to allow the controls to be scrolled up and down without affecting the remaing area of the dialog (which contains OK and Cancel buttons in a fixed position).

Presumably I need to override OnVScroll, but what needs to go in it?
GeneralRe: Scrolling in a CDialog Pin
Tomasz Sowinski11-Jun-01 3:21
Tomasz Sowinski11-Jun-01 3:21 
GeneralRe: Scrolling in a CDialog Pin
Derek Lakin11-Jun-01 5:04
Derek Lakin11-Jun-01 5:04 
GeneralRe: Scrolling in a CDialog Pin
Tomasz Sowinski11-Jun-01 5:29
Tomasz Sowinski11-Jun-01 5:29 
GeneralRe: Scrolling in a CDialog Pin
Derek Lakin11-Jun-01 5:37
Derek Lakin11-Jun-01 5:37 
GeneralRe: Scrolling in a CDialog Pin
11-Jun-01 8:22
suss11-Jun-01 8:22 
GeneralRe: Scrolling in a CDialog Pin
Stan Shannon11-Jun-01 9:28
Stan Shannon11-Jun-01 9:28 
GeneralRe: Scrolling in a CDialog Pin
Derek Lakin11-Jun-01 9:47
Derek Lakin11-Jun-01 9:47 
GeneralUpdating Scrollbar in editbox .... Pin
Hadi Rezaee11-Jun-01 1:00
Hadi Rezaee11-Jun-01 1:00 
GeneralRe: Updating Scrollbar in editbox .... Pin
11-Jun-01 1:48
suss11-Jun-01 1:48 
GeneralRe: Updating Scrollbar in editbox .... Pin
Hadi Rezaee11-Jun-01 6:59
Hadi Rezaee11-Jun-01 6:59 
GeneralRe: Updating Scrollbar in editbox .... Pin
Ulf Öhlén11-Jun-01 2:20
Ulf Öhlén11-Jun-01 2:20 
GeneralSlide Show Pin
Adeel Shamsi11-Jun-01 0:45
Adeel Shamsi11-Jun-01 0:45 
GeneralRe: Slide Show Pin
11-Jun-01 1:50
suss11-Jun-01 1:50 
GeneralRe: Slide Show Pin
Mukkie11-Jun-01 7:40
Mukkie11-Jun-01 7:40 
GeneralRich Edit Control problems in Windows 2000 Pin
Andrew Sage10-Jun-01 23:43
Andrew Sage10-Jun-01 23:43 
GeneralSP + Processor Pack Release Pin
10-Jun-01 23:17
suss10-Jun-01 23:17 
GeneralRe: SP + Processor Pack Release Pin
Mukkie11-Jun-01 7:52
Mukkie11-Jun-01 7:52 

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.