Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionConvert a string (or CString) to a date/time? Pin
David Fleming2-Jul-02 12:32
David Fleming2-Jul-02 12:32 
AnswerRe: Convert a string (or CString) to a date/time? Pin
Dave Bryant2-Jul-02 19:34
Dave Bryant2-Jul-02 19:34 
GeneralScreen Capture with DIB Pin
2-Jul-02 12:00
suss2-Jul-02 12:00 
GeneralRe: Screen Capture with DIB Pin
Christian Graus2-Jul-02 13:04
protectorChristian Graus2-Jul-02 13:04 
GeneralUpdateAllViews (...) - a trivial question Pin
ns2-Jul-02 11:35
ns2-Jul-02 11:35 
GeneralRe: UpdateAllViews (...) - a trivial question Pin
Jim A. Johnson2-Jul-02 11:43
Jim A. Johnson2-Jul-02 11:43 
GeneralRe: UpdateAllViews (...) - a trivial question Pin
jmkhael2-Jul-02 11:46
jmkhael2-Jul-02 11:46 
GeneralRe: UpdateAllViews (...) - a trivial question Pin
surbinsho3-Jul-02 0:05
surbinsho3-Jul-02 0:05 
jim is right
to do your task the calling should be in view
it can be done in following way
suppose your classes are
CMyDoc
CView1
CView2
now in CView2 class on handler of the click event u can do this
CMyDoc *pDoc=this->GetDocument();
pDoc->UpdateAllViews(this);//passing this as argument excludes the view from which the function is called

pDoc->UpdateAllViews(NULL);//updates all views attached to document including the view from which the function is called(in this case view2)



surbinsho
GeneralRe: UpdateAllViews (...) - a trivial question Pin
ns3-Jul-02 4:40
ns3-Jul-02 4:40 
GeneralPlease Help with OPENFILENAME/GetOpenFileName Pin
el_robert2-Jul-02 10:34
el_robert2-Jul-02 10:34 
GeneralRe: Please Help with OPENFILENAME/GetOpenFileName Pin
Marshall2-Jul-02 10:56
Marshall2-Jul-02 10:56 
GeneralRe: Please Help with OPENFILENAME/GetOpenFileName Pin
Roger Stewart2-Jul-02 10:59
professionalRoger Stewart2-Jul-02 10:59 
GeneralRe: Please Help with OPENFILENAME/GetOpenFileName Pin
el_robert2-Jul-02 11:41
el_robert2-Jul-02 11:41 
GeneralGot it!!! Pin
el_robert2-Jul-02 12:47
el_robert2-Jul-02 12:47 
GeneralHelp Pin
2-Jul-02 9:41
suss2-Jul-02 9:41 
GeneralCalling between MFC classes Pin
2-Jul-02 9:39
suss2-Jul-02 9:39 
GeneralRe: Calling between MFC classes Pin
Dave Bryant2-Jul-02 11:17
Dave Bryant2-Jul-02 11:17 
Generaldetecting working and non-working links in a website Pin
2-Jul-02 8:50
suss2-Jul-02 8:50 
GeneralRe: detecting working and non-working links in a website Pin
2-Jul-02 10:46
suss2-Jul-02 10:46 
GeneralMDAC 2.7 problems. Please HELP. Pin
DimkaSPB2-Jul-02 8:10
DimkaSPB2-Jul-02 8:10 
Generalbitmap writing problem Pin
SilentWarrior2-Jul-02 6:55
SilentWarrior2-Jul-02 6:55 
GeneralRe: bitmap writing problem Pin
Davide Pizzolato2-Jul-02 7:07
Davide Pizzolato2-Jul-02 7:07 
GeneralRe: bitmap writing problem Pin
Speedy3-Jul-02 11:04
Speedy3-Jul-02 11:04 
GeneralPreallocate a map Pin
2-Jul-02 6:49
suss2-Jul-02 6:49 
GeneralRe: Preallocate a map Pin
Joaquín M López Muñoz2-Jul-02 11:01
Joaquín M López Muñoz2-Jul-02 11:01 

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.