Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get Current View in SDI Pin
krmed2-Jul-12 0:48
krmed2-Jul-12 0:48 
Actually, in an SDI, there is only one document, but there can be many views.

In any event (to the OP) the proper way to update views in SDI or MDI is to store and update your data in the document, then call the document's UpdateAllViews method, passing a hint if needed.

This automatically calls the OnUpdate method of every view without you having to call it manually. In that method, you can do whatever is necessary to update the view.

Hope this helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

GeneralRe: Get Current View in SDI Pin
Richard MacCutchan2-Jul-12 0:53
mveRichard MacCutchan2-Jul-12 0:53 
QuestionCalling a member class implicitly Pin
ForNow1-Jul-12 3:36
ForNow1-Jul-12 3:36 
GeneralRe: Calling a member class implicitly Pin
Richard MacCutchan1-Jul-12 6:16
mveRichard MacCutchan1-Jul-12 6:16 
GeneralRe: Calling a member class implicitly Pin
ForNow1-Jul-12 6:30
ForNow1-Jul-12 6:30 
GeneralRe: Calling a member class implicitly Pin
Richard MacCutchan1-Jul-12 6:43
mveRichard MacCutchan1-Jul-12 6:43 
GeneralRe: Calling a member class implicitly Pin
ForNow1-Jul-12 9:46
ForNow1-Jul-12 9:46 
GeneralRe: Calling a member class implicitly Pin
enhzflep1-Jul-12 8:08
enhzflep1-Jul-12 8:08 
AnswerRe: Calling a member class implicitly Pin
Albert Holguin1-Jul-12 12:46
professionalAlbert Holguin1-Jul-12 12:46 
GeneralRe: Calling a member class implicitly Pin
ForNow1-Jul-12 13:23
ForNow1-Jul-12 13:23 
AnswerRe: Calling a member class implicitly Pin
Albert Holguin1-Jul-12 13:40
professionalAlbert Holguin1-Jul-12 13:40 
GeneralRe: Calling a member class implicitly Pin
ForNow1-Jul-12 15:06
ForNow1-Jul-12 15:06 
GeneralRe: Calling a member class implicitly Pin
Albert Holguin2-Jul-12 4:30
professionalAlbert Holguin2-Jul-12 4:30 
QuestionFtp : how to know downloading data is completed? Pin
includeh101-Jul-12 2:15
includeh101-Jul-12 2:15 
AnswerRe: Ftp : how to know downloading data is completed? Pin
Richard MacCutchan1-Jul-12 6:13
mveRichard MacCutchan1-Jul-12 6:13 
AnswerRe: Ftp : how to know downloading data is completed? Pin
Jochen Arndt1-Jul-12 22:36
professionalJochen Arndt1-Jul-12 22:36 
QuestionWill CInternetException catch a socket error Pin
ForNow29-Jun-12 11:37
ForNow29-Jun-12 11:37 
QuestionLNK1123: failure during conversion to COFF: file invalid or corrupt Pin
forkbomber29-Jun-12 9:52
forkbomber29-Jun-12 9:52 
AnswerRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
Albert Holguin29-Jun-12 10:53
professionalAlbert Holguin29-Jun-12 10:53 
GeneralRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
forkbomber30-Jun-12 2:17
forkbomber30-Jun-12 2:17 
AnswerRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
Richard MacCutchan30-Jun-12 2:46
mveRichard MacCutchan30-Jun-12 2:46 
GeneralRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
forkbomber30-Jun-12 3:47
forkbomber30-Jun-12 3:47 
GeneralRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
Richard MacCutchan30-Jun-12 5:57
mveRichard MacCutchan30-Jun-12 5:57 
AnswerRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
fat_boy30-Jun-12 20:40
fat_boy30-Jun-12 20:40 
QuestionSearch in *.chm File with C++? Pin
bosfan29-Jun-12 3:10
bosfan29-Jun-12 3:10 

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.