Click here to Skip to main content
15,915,869 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
esapp42022-Aug-02 7:34
esapp42022-Aug-02 7:34 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
esapp42022-Aug-02 9:02
esapp42022-Aug-02 9:02 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
esapp42022-Aug-02 9:28
esapp42022-Aug-02 9:28 
GeneralRe: Default CSP and GetLastError() (Encryption Problems) Pin
Martin Ziacek22-Aug-02 19:07
Martin Ziacek22-Aug-02 19:07 
Generalswapping bytes Pin
Anonymous22-Aug-02 6:04
Anonymous22-Aug-02 6:04 
GeneralRe: swapping bytes Pin
Chris Losinger22-Aug-02 6:16
professionalChris Losinger22-Aug-02 6:16 
GeneralRe: swapping bytes Pin
Anonymous22-Aug-02 7:29
Anonymous22-Aug-02 7:29 
GeneralMessages Between CFormViews Pin
John Gilbert22-Aug-02 5:57
John Gilbert22-Aug-02 5:57 
I have multiple CFormView windows in a MFC Doc/View application that uses a Multiple View CSplitterWnd based class to switch out views in two of the panes. To control the app, I need to pass messages between views. I have a central control class embedded in the app's CDocument derived class that controls all the views (and maintains access to pointers to the CFormView window object via the Splitter based class).
Anyway, to the question - Should I:
1) Pass messages to the CFormView class DIRECTLY via a "virtual int SendViewMessage(...)" method since I have direct access to the CFormView based Objects;
or 2) Should I post the messages via normal Windows Message (RegisterWindowMessage) to the CFormView and let the CFormView derived classes hanlde via Message Map.

I'm not sure of the consequences of the DIRECT approach as far as the MFC Doc/View framework is concerned. I see CDocument and CView calling methods directly in MFC rather than passing messages. Is there a rule on this somewhere ???? Or, since all Doc/View framework in the same thread, does this matter at all ????
Any info would be appreciated !!!!!!

Thanks,
John
GeneralRe: Messages Between CFormViews Pin
Tomasz Sowinski22-Aug-02 7:32
Tomasz Sowinski22-Aug-02 7:32 
GeneralRe: Messages Between CFormViews Pin
John Gilbert22-Aug-02 7:52
John Gilbert22-Aug-02 7:52 
Generalmkdir Pin
pnpfriend22-Aug-02 5:52
pnpfriend22-Aug-02 5:52 
GeneralRe: mkdir Pin
Mustafa Demirhan22-Aug-02 10:52
Mustafa Demirhan22-Aug-02 10:52 
GeneralRe: mkdir Pin
Todd Smith22-Aug-02 17:30
Todd Smith22-Aug-02 17:30 
Generalsecond CStatusBar Pin
22-Aug-02 5:35
suss22-Aug-02 5:35 
GeneralRe: second CStatusBar Pin
Enis22-Aug-02 6:30
Enis22-Aug-02 6:30 
GeneralMAPI Delivery receipt Pin
Enis22-Aug-02 4:36
Enis22-Aug-02 4:36 
QuestionON_COMMAND macro in imported files?!!? Pin
Jawache22-Aug-02 4:15
Jawache22-Aug-02 4:15 
AnswerRe: ON_COMMAND macro in imported files?!!? Pin
Jon Hulatt22-Aug-02 4:20
Jon Hulatt22-Aug-02 4:20 
GeneralRe: ON_COMMAND macro in imported files?!!? Pin
Jawache22-Aug-02 5:48
Jawache22-Aug-02 5:48 
Generalsystem title bar menu X, add code to Pin
jimNLX22-Aug-02 3:58
jimNLX22-Aug-02 3:58 
GeneralRe: system title bar menu X, add code to Pin
Jon Hulatt22-Aug-02 4:06
Jon Hulatt22-Aug-02 4:06 
GeneralRe: system title bar menu X, add code to Pin
jimNLX22-Aug-02 4:09
jimNLX22-Aug-02 4:09 
GeneralExcel Developper's Kit Pin
Zizilamoroso22-Aug-02 3:45
Zizilamoroso22-Aug-02 3:45 
GeneralRe: Excel Developper's Kit Pin
Enis22-Aug-02 4:48
Enis22-Aug-02 4:48 
GeneralRe: Excel Developper's Kit Pin
Stephane Rodriguez.22-Aug-02 22:50
Stephane Rodriguez.22-Aug-02 22:50 

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.