Click here to Skip to main content
15,914,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGlitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor10-Jun-10 23:36
Robert Inventor10-Jun-10 23:36 
AnswerRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat12-Jun-10 5:16
Code-o-mat12-Jun-10 5:16 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor12-Jun-10 6:25
Robert Inventor12-Jun-10 6:25 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat12-Jun-10 7:00
Code-o-mat12-Jun-10 7:00 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor12-Jun-10 15:18
Robert Inventor12-Jun-10 15:18 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor12-Jun-10 15:34
Robert Inventor12-Jun-10 15:34 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly [modified] Pin
Robert Inventor12-Jun-10 15:35
Robert Inventor12-Jun-10 15:35 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat12-Jun-10 23:08
Code-o-mat12-Jun-10 23:08 
R. Walker wrote:
OleLoadPicturePath(wpath, NULL, NULL, NULL, IID_IPicture,(LPVOID*)&pPic);

I guess the only things that can be bad here (unless OleLoad... itself is faulty but that's of course not likely) is either wpath or the parameter after it.

I checked the documentation[^] of OleLoadPicturePath. Now, i only scratched the surface of COM, so this might be completely valid, but the documentation doesn't menation that you may specify NULL for punkCaller.

I can't detect any problem with wpath.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Computers don't kill programs, users kill programs <
> "It doesn't work, fix it" does not qualify as a bug report. <

GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor13-Jun-10 5:40
Robert Inventor13-Jun-10 5:40 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat13-Jun-10 5:53
Code-o-mat13-Jun-10 5:53 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor13-Jun-10 10:50
Robert Inventor13-Jun-10 10:50 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat13-Jun-10 11:14
Code-o-mat13-Jun-10 11:14 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor20-Jun-10 6:03
Robert Inventor20-Jun-10 6:03 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat20-Jun-10 7:43
Code-o-mat20-Jun-10 7:43 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor3-Jul-10 6:30
Robert Inventor3-Jul-10 6:30 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat3-Jul-10 6:43
Code-o-mat3-Jul-10 6:43 
QuestionMs PowerPoint Pin
MsmVc10-Jun-10 23:21
MsmVc10-Jun-10 23:21 
AnswerRe: Ms PowerPoint Pin
Cool_Dev10-Jun-10 23:55
Cool_Dev10-Jun-10 23:55 
GeneralRe: Ms PowerPoint [modified] Pin
MsmVc11-Jun-10 0:03
MsmVc11-Jun-10 0:03 
GeneralRe: Ms PowerPoint Pin
Cool_Dev11-Jun-10 0:18
Cool_Dev11-Jun-10 0:18 
GeneralRe: Ms PowerPoint Pin
MsmVc11-Jun-10 0:23
MsmVc11-Jun-10 0:23 
GeneralRe: Ms PowerPoint Pin
Cool_Dev11-Jun-10 0:41
Cool_Dev11-Jun-10 0:41 
GeneralRe: Ms PowerPoint Pin
MsmVc11-Jun-10 0:43
MsmVc11-Jun-10 0:43 
GeneralRe: Ms PowerPoint Pin
MsmVc11-Jun-10 0:47
MsmVc11-Jun-10 0:47 
GeneralRe: Ms PowerPoint Pin
Cool_Dev11-Jun-10 0:48
Cool_Dev11-Jun-10 0:48 

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.