Click here to Skip to main content
15,895,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
baumchen18-Jan-10 17:27
baumchen18-Jan-10 17:27 
QuestionRe: MFC How to update CMDIChildWnd from CDocument [modified] Pin
Adam Roderick J18-Jan-10 17:32
Adam Roderick J18-Jan-10 17:32 
AnswerRe: MFC How to update CMDIChildWnd from CDocument Pin
baumchen18-Jan-10 18:01
baumchen18-Jan-10 18:01 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
Adam Roderick J18-Jan-10 18:22
Adam Roderick J18-Jan-10 18:22 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
baumchen18-Jan-10 18:29
baumchen18-Jan-10 18:29 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
Adam Roderick J18-Jan-10 18:56
Adam Roderick J18-Jan-10 18:56 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
baumchen19-Jan-10 8:13
baumchen19-Jan-10 8:13 
AnswerRe: MFC How to update CMDIChildWnd from CDocument Pin
Nelek18-Jan-10 21:21
protectorNelek18-Jan-10 21:21 
I think you can get 2 CScrollViews and manage who is scrolling (the View is active) when you do the click in one of the scrolls, then from the document you get the new scroll position, give it to the other window using SetScrollPosition with pDoc->ActualPos_2 (assuming you made the click on View1) for the other one and call UpdateAllViews. Or just setting the scroll for both views where you need and call UpdateAllViews when opening a document.

Is that more or less what you wanted?

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.

GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
baumchen19-Jan-10 8:10
baumchen19-Jan-10 8:10 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
Nelek19-Jan-10 20:52
protectorNelek19-Jan-10 20:52 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
baumchen20-Jan-10 11:09
baumchen20-Jan-10 11:09 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
Nelek20-Jan-10 12:47
protectorNelek20-Jan-10 12:47 
AnswerRe: MFC How to update CMDIChildWnd from CDocument Pin
Cliff Hatch19-Jan-10 9:29
Cliff Hatch19-Jan-10 9:29 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
baumchen19-Jan-10 11:33
baumchen19-Jan-10 11:33 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
Cliff Hatch20-Jan-10 9:39
Cliff Hatch20-Jan-10 9:39 
GeneralRe: MFC How to update CMDIChildWnd from CDocument Pin
baumchen20-Jan-10 11:16
baumchen20-Jan-10 11:16 
QuestionChecking for attached device ( A: drive? ) Pin
Peter Weyzen18-Jan-10 13:57
Peter Weyzen18-Jan-10 13:57 
AnswerRe: Checking for attached device ( A: drive? ) Pin
Garth J Lancaster18-Jan-10 15:28
professionalGarth J Lancaster18-Jan-10 15:28 
GeneralRe: Checking for attached device ( A: drive? ) Pin
Peter Weyzen18-Jan-10 17:30
Peter Weyzen18-Jan-10 17:30 
GeneralRe: Checking for attached device ( A: drive? ) Pin
Garth J Lancaster18-Jan-10 17:33
professionalGarth J Lancaster18-Jan-10 17:33 
GeneralRe: Checking for attached device ( A: drive? ) Pin
Rozis19-Jan-10 2:53
Rozis19-Jan-10 2:53 
GeneralRe: Checking for attached device ( A: drive? ) Pin
Garth J Lancaster19-Jan-10 9:45
professionalGarth J Lancaster19-Jan-10 9:45 
QuestionRe: Checking for attached device ( A: drive? ) Pin
David Crow19-Jan-10 3:15
David Crow19-Jan-10 3:15 
AnswerRe: Checking for attached device ( A: drive? ) Pin
Garth J Lancaster19-Jan-10 10:13
professionalGarth J Lancaster19-Jan-10 10:13 
QuestionMFC CScrollView update problem when scrolling Pin
baumchen18-Jan-10 13:03
baumchen18-Jan-10 13:03 

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.