Click here to Skip to main content
15,884,986 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LoadImage Failure Pin
ForNow16-Dec-19 1:25
ForNow16-Dec-19 1:25 
GeneralRe: LoadImage Failure Pin
leon de boer16-Dec-19 4:07
leon de boer16-Dec-19 4:07 
GeneralRe: LoadImage Failure Pin
ForNow16-Dec-19 4:36
ForNow16-Dec-19 4:36 
GeneralRe: LoadImage Failure Pin
leon de boer16-Dec-19 22:35
leon de boer16-Dec-19 22:35 
GeneralRe: LoadImage Failure Pin
Richard MacCutchan15-Dec-19 21:36
mveRichard MacCutchan15-Dec-19 21:36 
Questionproblem when run the application using cntrl+F5. Wintech OPC DLL Pin
Member 1467670615-Dec-19 0:52
Member 1467670615-Dec-19 0:52 
SuggestionRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
Richard MacCutchan15-Dec-19 2:54
mveRichard MacCutchan15-Dec-19 2:54 
GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
ForNow16-Dec-19 1:03
ForNow16-Dec-19 1:03 
Richard

Here is the statement
C++
HANDLE hBmp = (HBITMAP) LoadImage(AfxGetInstanceHandle(), _TEXT("C:\\DriveRichEdit\\DriveRichEdit\\DriveRichEdit\\res\\bullet_red.png"), IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);


As leon mentioned LoadImage may not work with .png files

I am trying to emulate Visual Studio Debugger Breakpoint, when I used the RichEdit OLE interface and look at the SetSel parameters I see the first value (The x value as 1) however is stands away from right edge of the Parent Dialog frame (maybe by 1/8 of inch).

Looking at the image in file explorer it looks just fine but when I am open the image in paintbrush I can see a rectangular white border around it and maybe that is part of the problem. If that is a problem would you have any suggestion for me how to get an image ie. red bullet, I picked this one up by doing a google search thanks
AnswerRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
leon de boer15-Dec-19 20:39
leon de boer15-Dec-19 20:39 
GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
Stefan_Lang16-Dec-19 4:35
Stefan_Lang16-Dec-19 4:35 
GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
leon de boer17-Dec-19 2:45
leon de boer17-Dec-19 2:45 
QuestionDIrectX9 error shows up only in debugger Pin
Member 953078713-Dec-19 5:50
Member 953078713-Dec-19 5:50 
SuggestionRe: DIrectX9 error shows up only in debugger Pin
Richard MacCutchan13-Dec-19 23:42
mveRichard MacCutchan13-Dec-19 23:42 
QuestionCan Bullet numbering in Pin
ForNow9-Dec-19 1:27
ForNow9-Dec-19 1:27 
QuestionRe: Can Bullet numbering in Pin
Richard MacCutchan9-Dec-19 3:37
mveRichard MacCutchan9-Dec-19 3:37 
AnswerRe: Can Bullet numbering in Pin
ForNow9-Dec-19 3:55
ForNow9-Dec-19 3:55 
QuestionV2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg8-Dec-19 9:42
charlieg8-Dec-19 9:42 
AnswerRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg8-Dec-19 9:48
charlieg8-Dec-19 9:48 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
leon de boer8-Dec-19 13:10
leon de boer8-Dec-19 13:10 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
Stefan_Lang8-Dec-19 23:20
Stefan_Lang8-Dec-19 23:20 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
leon de boer9-Dec-19 0:52
leon de boer9-Dec-19 0:52 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
Stefan_Lang9-Dec-19 1:59
Stefan_Lang9-Dec-19 1:59 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg9-Dec-19 2:05
charlieg9-Dec-19 2:05 
AnswerRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg9-Dec-19 2:09
charlieg9-Dec-19 2:09 
AnswerRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg8-Jan-20 11:37
charlieg8-Jan-20 11:37 

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.