Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ratio color bar for an MFC-based application Pin
Code-o-mat27-Oct-10 21:52
Code-o-mat27-Oct-10 21:52 
GeneralRe: Ratio color bar for an MFC-based application [modified] Pin
marc ochsenmeier27-Oct-10 19:38
marc ochsenmeier27-Oct-10 19:38 
QuestionCImage and transparency Pin
Craig Longman27-Oct-10 7:39
Craig Longman27-Oct-10 7:39 
AnswerRe: CImage and transparency Pin
Code-o-mat27-Oct-10 7:47
Code-o-mat27-Oct-10 7:47 
GeneralRe: CImage and transparency Pin
Craig Longman27-Oct-10 8:13
Craig Longman27-Oct-10 8:13 
GeneralRe: CImage and transparency Pin
Craig Longman27-Oct-10 8:27
Craig Longman27-Oct-10 8:27 
GeneralRe: CImage and transparency Pin
Code-o-mat27-Oct-10 8:52
Code-o-mat27-Oct-10 8:52 
AnswerRe: CImage and transparency Pin
Alain Rist27-Oct-10 8:30
Alain Rist27-Oct-10 8:30 
Hi Craig,
Craig Longman wrote:
Course, now I'm having fun trying to get the bits directly from a BMP loaded via ::LoadBitmap


From LoadBitmap[^] LoadBitmap creates a compatible bitmap of the display.

Use LoadImage()[^] with LR_CREATEDIBSECTION to use the xxxBlend GDI functions.
As was already answered GDI+ (not MFC CImage which uses it only for file exchanges) handles that correctly.
cheers,
AR
When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)

GeneralRe: CImage and transparency Pin
transoft27-Oct-10 17:23
transoft27-Oct-10 17:23 
GeneralRe: CImage and transparency Pin
Moak31-Oct-10 12:50
Moak31-Oct-10 12:50 
QuestionCToolTipCtrl: Restrict Tooltip within the dialog Pin
chandu00427-Oct-10 4:57
chandu00427-Oct-10 4:57 
AnswerRe: CToolTipCtrl: Restrict Tooltip within the dialog Pin
msr_codeproject27-Oct-10 19:48
msr_codeproject27-Oct-10 19:48 
Questioncontrolling wave output volume Pin
Danzy8327-Oct-10 1:52
Danzy8327-Oct-10 1:52 
AnswerRe: controlling wave output volume Pin
David Crow27-Oct-10 3:03
David Crow27-Oct-10 3:03 
AnswerRe: controlling wave output volume Pin
Chris Meech27-Oct-10 3:25
Chris Meech27-Oct-10 3:25 
GeneralRe: controlling wave output volume Pin
Danzy8327-Oct-10 3:44
Danzy8327-Oct-10 3:44 
AnswerRe: controlling wave output volume Pin
Sauro Viti27-Oct-10 3:53
professionalSauro Viti27-Oct-10 3:53 
GeneralRe: controlling wave output volume Pin
Danzy8327-Oct-10 3:58
Danzy8327-Oct-10 3:58 
GeneralRe: controlling wave output volume Pin
Code-o-mat27-Oct-10 4:25
Code-o-mat27-Oct-10 4:25 
QuestionHow can i use tab inside edit control Pin
learningvisualc27-Oct-10 0:33
learningvisualc27-Oct-10 0:33 
AnswerRe: How can i use tab inside edit control Pin
Sauro Viti27-Oct-10 0:48
professionalSauro Viti27-Oct-10 0:48 
QuestionPrint Preview in applications Pin
msr_codeproject27-Oct-10 0:01
msr_codeproject27-Oct-10 0:01 
AnswerRe: Print Preview in applications Pin
Richard MacCutchan27-Oct-10 2:40
mveRichard MacCutchan27-Oct-10 2:40 
QuestionHow to print only the current folder name in powershell Pin
melwyn26-Oct-10 23:43
melwyn26-Oct-10 23:43 
AnswerRe: How to print only the current folder name in powershell Pin
Sauro Viti27-Oct-10 0:16
professionalSauro Viti27-Oct-10 0:16 

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.