Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using std::find in while loop Pin
b-rad31124-May-10 5:45
b-rad31124-May-10 5:45 
AnswerRe: using std::find in while loop Pin
Richard MacCutchan24-May-10 5:33
mveRichard MacCutchan24-May-10 5:33 
AnswerRe: using std::find in while loop Pin
Aescleal24-May-10 6:01
Aescleal24-May-10 6:01 
GeneralRe: using std::find in while loop Pin
b-rad31124-May-10 10:31
b-rad31124-May-10 10:31 
QuestionDo I have to instantiate a copy of IRichEditOle before using EM_GETOLEINTERFACE Pin
ForNow24-May-10 4:48
ForNow24-May-10 4:48 
AnswerRe: Do I have to instantiate a copy of IRichEditOle before using EM_GETOLEINTERFACE Pin
Code-o-mat24-May-10 5:25
Code-o-mat24-May-10 5:25 
GeneralRe: Do I have to instantiate a copy of IRichEditOle before using EM_GETOLEINTERFACE Pin
ForNow24-May-10 6:48
ForNow24-May-10 6:48 
GeneralRe: Do I have to instantiate a copy of IRichEditOle before using EM_GETOLEINTERFACE Pin
Code-o-mat24-May-10 7:28
Code-o-mat24-May-10 7:28 
I see. Well, in case of the IRichEditOleCallback, as the documentation[^] states, you are responsible to provide an implementation of the interface methods, this is probably why the exsample creates IExRichEditOleCallBack (from IRichEditOleCallback) and feeds that to the rich edit control. He provides implementations of methods that will be called "by the rich edit" (or somesuch) allowing him to execute his specialized code when something needs to be done.
When you query for the IRichEditOle interface, its methods are already implemented, you don't need to make your own instance of it since what you want to do is to use the already impelemented functionality.
I hope this is understandable rather than making things seem to be even more complicated than before. Smile | :)
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Computers are evil, EVIL i tell you!! <

GeneralRe: Do I have to instantiate a copy of IRichEditOle before using EM_GETOLEINTERFACE Pin
ForNow24-May-10 17:26
ForNow24-May-10 17:26 
GeneralRe: Do I have to instantiate a copy of IRichEditOle before using EM_GETOLEINTERFACE Pin
Code-o-mat24-May-10 21:34
Code-o-mat24-May-10 21:34 
QuestionListview Pin
wael_r24-May-10 3:19
wael_r24-May-10 3:19 
AnswerRe: Listview Pin
Xeqtr24-May-10 3:33
Xeqtr24-May-10 3:33 
Questiondrawing water in open gl in visual c++ Pin
nearest24-May-10 1:01
nearest24-May-10 1:01 
AnswerRe: drawing water in open gl in visual c++ Pin
Maximilien24-May-10 1:26
Maximilien24-May-10 1:26 
AnswerRe: drawing water in open gl in visual c++ Pin
Nuri Ismail24-May-10 2:55
Nuri Ismail24-May-10 2:55 
QuestionRemote Computer access Pin
hellogany23-May-10 23:35
hellogany23-May-10 23:35 
AnswerRe: Remote Computer access Pin
Richard MacCutchan23-May-10 23:47
mveRichard MacCutchan23-May-10 23:47 
QuestionRe: Remote Computer access Pin
David Crow24-May-10 3:06
David Crow24-May-10 3:06 
AnswerRe: Remote Computer access Pin
ThatsAlok25-May-10 1:50
ThatsAlok25-May-10 1:50 
QuestionCFileDialog not displaying existing files [modified] Pin
maycockt23-May-10 23:34
maycockt23-May-10 23:34 
AnswerRe: CFileDialog not displaying existing files Pin
maycockt24-May-10 0:29
maycockt24-May-10 0:29 
QuestionGet all running Excel Pin
trioum23-May-10 22:36
trioum23-May-10 22:36 
AnswerRe: Get all running Excel Pin
Garth J Lancaster24-May-10 1:35
professionalGarth J Lancaster24-May-10 1:35 
GeneralRe: Get all running Excel Pin
trioum24-May-10 20:05
trioum24-May-10 20:05 
GeneralRe: Get all running Excel Pin
Garth J Lancaster24-May-10 20:07
professionalGarth J Lancaster24-May-10 20:07 

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.