Click here to Skip to main content
15,912,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Managed C++ books Pin
Michael P Butler28-Apr-02 4:06
Michael P Butler28-Apr-02 4:06 
GeneralRe: Managed C++ books Pin
Tom Archer28-Apr-02 4:12
Tom Archer28-Apr-02 4:12 
Questionhow to create avi file Pin
pnpfriend27-Apr-02 10:39
pnpfriend27-Apr-02 10:39 
AnswerRe: how to create avi file Pin
alex.barylski27-Apr-02 11:53
alex.barylski27-Apr-02 11:53 
AnswerRe: how to create avi file Pin
Tom Archer27-Apr-02 11:58
Tom Archer27-Apr-02 11:58 
Generalpreview a jpg or gif in open dialog Pin
Lucky the code machine27-Apr-02 10:05
Lucky the code machine27-Apr-02 10:05 
GeneralAccess a Specific View in MainFrame :: MFC Pin
valikac27-Apr-02 9:53
valikac27-Apr-02 9:53 
GeneralRe: Access a Specific View in MainFrame :: MFC Pin
Tom Archer27-Apr-02 10:05
Tom Archer27-Apr-02 10:05 
Like many things in MFC, there are many answers here and it comes down to personal choice and your system design:

1) You could call the document's UpdateAllViews function and pass the desired message & data that way.
2) You could store the view pointers in a central place (such as the app object or the mainframe object) and then call a member functions to either send the data from that main object or to return the pointer so that you could then directly call the view's member functions

In situations like these there is no right or wrong way although I typically like to use the built in UpdateAllViews method.


Cheers,
Tom Archer
Author, Inside C#

Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
GeneralRe: Access a Specific View in MainFrame :: MFC Pin
Michael P Butler27-Apr-02 10:11
Michael P Butler27-Apr-02 10:11 
GeneralRe: Try to change your function location! Pin
Masaaki Onishi27-Apr-02 10:28
Masaaki Onishi27-Apr-02 10:28 
GeneralRe: Solution Pin
valikac27-Apr-02 11:08
valikac27-Apr-02 11:08 
GeneralRe: Solution Pin
Tom Archer27-Apr-02 11:15
Tom Archer27-Apr-02 11:15 
GeneralRe: Solution Pin
valikac27-Apr-02 11:47
valikac27-Apr-02 11:47 
GeneralRe: Solution Pin
Tom Archer27-Apr-02 11:53
Tom Archer27-Apr-02 11:53 
GeneralRe: Solution Pin
valikac27-Apr-02 11:54
valikac27-Apr-02 11:54 
GeneralMessages Pin
Wizard_0127-Apr-02 8:12
Wizard_0127-Apr-02 8:12 
GeneralRe: Messages Pin
Michael P Butler27-Apr-02 10:13
Michael P Butler27-Apr-02 10:13 
GeneralRe: Messages Pin
Tom Archer27-Apr-02 11:10
Tom Archer27-Apr-02 11:10 
GeneralAdding own things to the explorer browser Pin
<k>Andreas Hoheisel27-Apr-02 8:10
<k>Andreas Hoheisel27-Apr-02 8:10 
GeneralRe: Adding own things to the explorer browser Pin
Michael Dunn27-Apr-02 8:39
sitebuilderMichael Dunn27-Apr-02 8:39 
GeneralRe: Adding own things to the explorer browser Pin
<k>Andreas Hoheisel28-Apr-02 8:56
<k>Andreas Hoheisel28-Apr-02 8:56 
Generaldrag drop a bitmap Pin
shokisingh27-Apr-02 7:15
shokisingh27-Apr-02 7:15 
GeneralRe: drag drop a bitmap Pin
Tom Archer27-Apr-02 11:13
Tom Archer27-Apr-02 11:13 
GeneralProperties of ActiveX (and control) Pin
Wizard_0127-Apr-02 6:43
Wizard_0127-Apr-02 6:43 
GeneralRight-aligning with WS_EX_RTLREADING Pin
Oz Ben Eliezer27-Apr-02 6:28
Oz Ben Eliezer27-Apr-02 6:28 

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.