Click here to Skip to main content
15,890,186 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBitBlt w/ ROP codes in GDI+ Pin
Force Code8-Nov-07 8:00
Force Code8-Nov-07 8:00 
AnswerRe: BitBlt w/ ROP codes in GDI+ Pin
bob169728-Nov-07 8:14
bob169728-Nov-07 8:14 
AnswerRe: BitBlt w/ ROP codes in GDI+ Pin
Mark Salsbery8-Nov-07 8:26
Mark Salsbery8-Nov-07 8:26 
GeneralRe: BitBlt w/ ROP codes in GDI+ Pin
Force Code8-Nov-07 8:44
Force Code8-Nov-07 8:44 
GeneralRe: BitBlt w/ ROP codes in GDI+ Pin
led mike8-Nov-07 9:03
led mike8-Nov-07 9:03 
GeneralRe: BitBlt w/ ROP codes in GDI+ Pin
Force Code8-Nov-07 9:22
Force Code8-Nov-07 9:22 
GeneralRe: BitBlt w/ ROP codes in GDI+ Pin
Mark Salsbery8-Nov-07 9:07
Mark Salsbery8-Nov-07 9:07 
GeneralRe: BitBlt w/ ROP codes in GDI+ Pin
Force Code8-Nov-07 9:21
Force Code8-Nov-07 9:21 
Mark Salsbery wrote:
Force Code wrote:
Consider that with a windows icon, it will store a black and white mask to be used in masking the background. How is that mask accomplished behind the scenes except via BitBlt with ROP codes?

Do you mean with GDI+? I believe when you load an icon into a GDI+ Image/Bitmap
it is converted to 32-bit ARGB so it uses alpha blending instead of the mask
(based on experience, not documentation...try it ).

Mark


Not sure what the mere fact its converted to ARGB indicates. It seems a bitblt could still be performed on the lower 24 bits. How would you make a bitmap background transparent only using the source, destination, and alpha blending (with no mask bitmap).

OK I'll answer my own question, by using the alpha channel as the mask bitmap.
GeneralRe: BitBlt w/ ROP codes in GDI+ Pin
Mark Salsbery8-Nov-07 9:31
Mark Salsbery8-Nov-07 9:31 
GeneralRe: BitBlt w/ ROP codes in GDI+ Pin
Force Code8-Nov-07 9:53
Force Code8-Nov-07 9:53 
GeneralRe: BitBlt w/ ROP codes in GDI+ Pin
Mark Salsbery8-Nov-07 10:05
Mark Salsbery8-Nov-07 10:05 
QuestionWinCE USB to Virtual Serial Port Pin
shpid3r8-Nov-07 7:01
shpid3r8-Nov-07 7:01 
AnswerRe: WinCE USB to Virtual Serial Port Pin
Cedric Moonen8-Nov-07 7:19
Cedric Moonen8-Nov-07 7:19 
GeneralRe: WinCE USB to Virtual Serial Port Pin
shpid3r8-Nov-07 7:34
shpid3r8-Nov-07 7:34 
GeneralRe: WinCE USB to Virtual Serial Port Pin
Cedric Moonen8-Nov-07 20:10
Cedric Moonen8-Nov-07 20:10 
QuestionBlue - General Purpose C++ Library Pin
aputic8-Nov-07 5:43
aputic8-Nov-07 5:43 
AnswerRe: Blue - General Purpose C++ Library Pin
toxcct8-Nov-07 5:55
toxcct8-Nov-07 5:55 
AnswerRe: Blue - General Purpose C++ Library Pin
Jim Crafton8-Nov-07 6:19
Jim Crafton8-Nov-07 6:19 
QuestionRe: Blue - General Purpose C++ Library Pin
Maximilien8-Nov-07 7:19
Maximilien8-Nov-07 7:19 
AnswerRe: Blue - General Purpose C++ Library Pin
aputic8-Nov-07 11:37
aputic8-Nov-07 11:37 
QuestionHelp on calling cview-draw from Onidle virtual function - qucik explaination please, please forgive me, I am a begginer Pin
simon alec smith8-Nov-07 4:33
simon alec smith8-Nov-07 4:33 
AnswerRe: Help on calling cview-draw from Onidle virtual function - qucik explaination please, please forgive me, I am a begginer Pin
jhwurmbach8-Nov-07 4:40
jhwurmbach8-Nov-07 4:40 
QuestionCArray problem Pin
StefanRMB8-Nov-07 4:01
StefanRMB8-Nov-07 4:01 
AnswerRe: CArray problem Pin
jhwurmbach8-Nov-07 4:14
jhwurmbach8-Nov-07 4:14 
AnswerRe: CArray problem Pin
David Crow8-Nov-07 5:30
David Crow8-Nov-07 5:30 

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.