Click here to Skip to main content
15,898,734 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 21:09
Owner drawn29-Jan-06 21:09 
GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 21:26
eivanlo29-Jan-06 21:26 
GeneralRe: 2-dimensional arrays Pin
eivanlo30-Jan-06 4:32
eivanlo30-Jan-06 4:32 
Question[Message Deleted] Pin
Hamid_RT29-Jan-06 18:24
Hamid_RT29-Jan-06 18:24 
AnswerRe: Hello Pin
Prakash Nadar29-Jan-06 20:00
Prakash Nadar29-Jan-06 20:00 
AnswerRe: Hello Pin
Eytukan29-Jan-06 20:39
Eytukan29-Jan-06 20:39 
QuestionChanging button text Pin
Learner200629-Jan-06 17:21
Learner200629-Jan-06 17:21 
AnswerRe: Changing button text Pin
Owner drawn29-Jan-06 17:25
Owner drawn29-Jan-06 17:25 
GeneralRe: Changing button text Pin
Learner200629-Jan-06 18:33
Learner200629-Jan-06 18:33 
AnswerRe: Changing button text Pin
Gavin Taylor29-Jan-06 17:28
professionalGavin Taylor29-Jan-06 17:28 
GeneralRe: Changing button text Pin
Ryan Binns29-Jan-06 17:43
Ryan Binns29-Jan-06 17:43 
GeneralRe: Changing button text Pin
Gavin Taylor29-Jan-06 17:48
professionalGavin Taylor29-Jan-06 17:48 
GeneralRe: Changing button text Pin
Learner200629-Jan-06 19:20
Learner200629-Jan-06 19:20 
GeneralRe: Changing button text Pin
Gavin Taylor29-Jan-06 19:33
professionalGavin Taylor29-Jan-06 19:33 
Question_variant_t to *Byte Pin
KifayatullahKhan29-Jan-06 17:17
KifayatullahKhan29-Jan-06 17:17 
AnswerRe: _variant_t to *Byte Pin
Aamir Butt29-Jan-06 22:24
Aamir Butt29-Jan-06 22:24 
QuestionDisabling Drag/Drop in the IWebBrowser2 Control Pin
Wolfram Steinke29-Jan-06 16:45
Wolfram Steinke29-Jan-06 16:45 
QuestionBase64 encoding in Visual C++ Pin
Syazarine29-Jan-06 16:39
Syazarine29-Jan-06 16:39 
AnswerRe: Base64 encoding in Visual C++ Pin
Gavin Taylor29-Jan-06 16:57
professionalGavin Taylor29-Jan-06 16:57 
QuestionWIN32 Multithreaded Dll Pin
JRaiden29-Jan-06 14:35
JRaiden29-Jan-06 14:35 
AnswerRe: WIN32 Multithreaded Dll Pin
Gary R. Wheeler29-Jan-06 15:06
Gary R. Wheeler29-Jan-06 15:06 
GeneralRe: WIN32 Multithreaded Dll Pin
JRaiden29-Jan-06 16:13
JRaiden29-Jan-06 16:13 
AnswerRe: WIN32 Multithreaded Dll Pin
Stephen Hewitt29-Jan-06 16:41
Stephen Hewitt29-Jan-06 16:41 
QuestionHow do I get "NT domain" name under Windows 98? Pin
RadioShark29-Jan-06 9:57
RadioShark29-Jan-06 9:57 
Questionhow to send message to CCmdTarget Pin
spiritofklanawa29-Jan-06 9:45
spiritofklanawa29-Jan-06 9:45 
To send a message to a CWnd derived object is easy, I use SendMessage() method. Could anyone help me understand how to send message to a CCmdTarget derived object such as CDocument which owns a message table (BEGIN_MESSAGE_MAP/END_MESSAGE_MAP) ?

Perhaps I'm just going down the difficult path. Namely, I'm trying to send a "new-document" menu message to the SDI document to force cleanup and get the "option to save modified" feature. For some reason if I call OnNewDocument() method directly the framework ignors the fact that the current document is "modified". I though sending the menu message would fool the framework to do its job.

Thanks bunches

Alex


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.