Click here to Skip to main content
15,889,266 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioninterview questions Pin
neelu77794-Oct-07 21:43
neelu77794-Oct-07 21:43 
AnswerRe: interview questions Pin
cp98764-Oct-07 21:52
cp98764-Oct-07 21:52 
AnswerRe: interview questions Pin
Hamid_RT4-Oct-07 23:14
Hamid_RT4-Oct-07 23:14 
GeneralRe: interview questions Pin
ThatsAlok5-Oct-07 0:45
ThatsAlok5-Oct-07 0:45 
GeneralRe: interview questions Pin
Hamid_RT5-Oct-07 0:53
Hamid_RT5-Oct-07 0:53 
AnswerRe: interview questions Pin
ShilpiP5-Oct-07 0:04
ShilpiP5-Oct-07 0:04 
QuestionSplitter window Pin
Aby Jacob4-Oct-07 21:32
Aby Jacob4-Oct-07 21:32 
AnswerRe: Splitter window Pin
Nelek4-Oct-07 21:58
protectorNelek4-Oct-07 21:58 
I dont know how to share it, but you can always sincronize both of them when one is moved.

In the OnScroll () or by OnScrollBy () you can make something like:

int nVertPos = pDoc->m_csbMyScrollBar1->GetScrollPos (SB_VERT);
pDoc->m_csbMyScrollBar2->SetScrollPos (SB_VERT, nVertPos, bRedraw);

pDoc->UpdateAllWindos (NULL);



I'm supposing a CScrollBar* for every one of them in the document, to have easier access to both with independance of which view is the active.

Or something like this.

Hope it helps



Greetings.

--------
M.D.V.

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

Wink | ;)

AnswerRe: Splitter window Pin
Nishad S4-Oct-07 22:39
Nishad S4-Oct-07 22:39 
QuestionEncryption Algorithm Pin
sc_emb4-Oct-07 20:10
sc_emb4-Oct-07 20:10 
AnswerRe: Encryption Algorithm Pin
cp98764-Oct-07 21:12
cp98764-Oct-07 21:12 
QuestionScheduler Problem Pin
Suneet.034-Oct-07 20:06
Suneet.034-Oct-07 20:06 
AnswerRe: Scheduler Problem Pin
Michael Dunn4-Oct-07 20:52
sitebuilderMichael Dunn4-Oct-07 20:52 
GeneralRe: Scheduler Problem Pin
Suneet.034-Oct-07 21:31
Suneet.034-Oct-07 21:31 
QuestionRe: Scheduler Problem Pin
David Crow5-Oct-07 3:44
David Crow5-Oct-07 3:44 
AnswerRe: Scheduler Problem Pin
Suneet.037-Oct-07 19:07
Suneet.037-Oct-07 19:07 
QuestionRe: Scheduler Problem Pin
David Crow8-Oct-07 2:51
David Crow8-Oct-07 2:51 
AnswerRe: Scheduler Problem Pin
Suneet.038-Oct-07 18:58
Suneet.038-Oct-07 18:58 
QuestionRe: Scheduler Problem Pin
David Crow9-Oct-07 2:45
David Crow9-Oct-07 2:45 
AnswerRe: Scheduler Problem Pin
Suneet.039-Oct-07 18:16
Suneet.039-Oct-07 18:16 
GeneralRe: Scheduler Problem Pin
David Crow10-Oct-07 2:54
David Crow10-Oct-07 2:54 
Questionfatal error Pin
srvsah4-Oct-07 19:50
srvsah4-Oct-07 19:50 
AnswerRe: fatal error Pin
srvsah4-Oct-07 19:57
srvsah4-Oct-07 19:57 
GeneralRe: fatal error Pin
srvsah4-Oct-07 20:01
srvsah4-Oct-07 20:01 
AnswerRe: fatal error Pin
Programm3r4-Oct-07 20:47
Programm3r4-Oct-07 20:47 

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.