Click here to Skip to main content
15,799,257 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

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