Click here to Skip to main content
16,005,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Displaying Graph Controls values in a grid. Pin
pod_9999-Nov-07 0:15
pod_9999-Nov-07 0:15 
QuestionOT: Linux ELF Executable Checksum Algorithm Pin
Jeffrey Walton8-Nov-07 9:14
Jeffrey Walton8-Nov-07 9:14 
AnswerRe: OT: Linux ELF Executable Checksum Algorithm Pin
Randor 8-Nov-07 10:23
professional Randor 8-Nov-07 10:23 
GeneralRe: OT: Linux ELF Executable Checksum Algorithm Pin
Jeffrey Walton8-Nov-07 10:48
Jeffrey Walton8-Nov-07 10:48 
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 
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

So everything that can be accomplished with ROP codes can be done w/ alpha blending? I know what alpha blending is, and used it in an application I'm developing, but the concept of it as a complete replacement for bitwise logical ops on bitmaps is new to me. Would someone attempt to do away with C's bitwise operators - and then replace it with what? I don't get it. How would you replace the ROP code 0x00AC0744 (which I actually use somewhere). How do you replace SRCAND or SRCPAINT, for that matter. I guess I need to find out however, because none of the modern programming environments seem to have anything but alpha. Don't suppose you know of a primer that would get me up to speed. (Well, it looks like you implied above that rop codes are still needed - still slightly confused - why wouldn't actionscript have either bitwise AND or OR for bitmaps given all the myriad stuff it can do.)
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 
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 

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.