Click here to Skip to main content
15,881,092 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CBitmap::LoadBitmap help Pin
Richard MacCutchan19-Oct-21 6:41
mveRichard MacCutchan19-Oct-21 6:41 
GeneralRe: CBitmap::LoadBitmap help Pin
ForNow19-Oct-21 6:51
ForNow19-Oct-21 6:51 
GeneralRe: CBitmap::LoadBitmap help Pin
Richard MacCutchan19-Oct-21 8:01
mveRichard MacCutchan19-Oct-21 8:01 
AnswerRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
ForNow19-Oct-21 12:10
ForNow19-Oct-21 12:10 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
Victor Nijegorodov19-Oct-21 21:42
Victor Nijegorodov19-Oct-21 21:42 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
Richard MacCutchan19-Oct-21 22:32
mveRichard MacCutchan19-Oct-21 22:32 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
Richard MacCutchan20-Oct-21 3:14
mveRichard MacCutchan20-Oct-21 3:14 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
ForNow20-Oct-21 3:24
ForNow20-Oct-21 3:24 
thanks for your help I re-linked my app and after I did the attach the HANDLE had leading zeros and displayed I played around with BitBlt and StreachBlt

One problem the RED bullet is placed in the middle of a rectangle the color of the rectangle is black.

So my static control is gray. and there is a black squared with a red bullet.

Is there anyway to have the black "background color of the bitmap rectangle" be the the same as the background of the destination control

I have tried creating a brush with that control color selecting/selectobjct and CDC::Fillrect and FillSolidRect


Doesn't seem to have any effect

Thanks
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
Victor Nijegorodov20-Oct-21 4:07
Victor Nijegorodov20-Oct-21 4:07 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach "used TransparentBLT thank you all" Pin
ForNow20-Oct-21 8:46
ForNow20-Oct-21 8:46 
QuestionMessage Closed Pin
18-Oct-21 6:15
Member 1496877118-Oct-21 6:15 
AnswerRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
k505418-Oct-21 6:56
mvek505418-Oct-21 6:56 
AnswerRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
k505418-Oct-21 7:05
mvek505418-Oct-21 7:05 
AnswerMessage Closed Pin
19-Oct-21 5:54
Member 1496877119-Oct-21 5:54 
GeneralRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
k505419-Oct-21 7:19
mvek505419-Oct-21 7:19 
GeneralMessage Closed Pin
19-Oct-21 7:36
Member 1496877119-Oct-21 7:36 
GeneralMessage Closed Pin
21-Oct-21 9:00
Member 1496877121-Oct-21 9:00 
GeneralRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
Richard MacCutchan21-Oct-21 21:33
mveRichard MacCutchan21-Oct-21 21:33 
QuestionLatest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Maximilien18-Oct-21 4:43
Maximilien18-Oct-21 4:43 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Mircea Neacsu18-Oct-21 5:08
Mircea Neacsu18-Oct-21 5:08 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Victor Nijegorodov18-Oct-21 9:21
Victor Nijegorodov18-Oct-21 9:21 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) (FIXED) Pin
Maximilien21-Oct-21 6:11
Maximilien21-Oct-21 6:11 
QuestionDialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
ForNow17-Oct-21 5:52
ForNow17-Oct-21 5:52 
AnswerRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
Richard Andrew x6417-Oct-21 14:50
professionalRichard Andrew x6417-Oct-21 14:50 
GeneralRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
ForNow17-Oct-21 15:31
ForNow17-Oct-21 15:31 

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.