Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionActiveX - could not reload its state from its data saved.... Pin
charlieg31-Aug-08 11:40
charlieg31-Aug-08 11:40 
AnswerRe: ActiveX - could not reload its state from its data saved.... Pin
charlieg1-Sep-08 18:55
charlieg1-Sep-08 18:55 
QuestionSetting printer options from C++ Pin
Tom Paronis31-Aug-08 9:35
Tom Paronis31-Aug-08 9:35 
AnswerRe: Setting printer options from C++ Pin
Perspx31-Aug-08 10:33
Perspx31-Aug-08 10:33 
GeneralRe: Setting printer options from C++ Pin
Tom Paronis1-Sep-08 4:27
Tom Paronis1-Sep-08 4:27 
GeneralRe: Setting printer options from C++ Pin
Perspx1-Sep-08 4:36
Perspx1-Sep-08 4:36 
AnswerRe: Setting printer options from C++ Pin
Hamid_RT31-Aug-08 18:09
Hamid_RT31-Aug-08 18:09 
Questionset limit text for combobox Pin
hariakuthota31-Aug-08 8:12
hariakuthota31-Aug-08 8:12 
AnswerRe: set limit text for combobox Pin
Perspx31-Aug-08 8:30
Perspx31-Aug-08 8:30 
QuestionTimerQueueTimers..A question.. Pin
montiee31-Aug-08 5:53
montiee31-Aug-08 5:53 
AnswerRe: TimerQueueTimers..A question.. Pin
Mark Salsbery31-Aug-08 7:12
Mark Salsbery31-Aug-08 7:12 
QuestionRe: TimerQueueTimers..A question.. [modified] Pin
montiee1-Sep-08 8:39
montiee1-Sep-08 8:39 
QuestionCode efficiency Pin
Evgeni5731-Aug-08 5:26
Evgeni5731-Aug-08 5:26 
AnswerRe: Code efficiency Pin
Robert.C.Cartaino31-Aug-08 7:32
Robert.C.Cartaino31-Aug-08 7:32 
AnswerRe: Code efficiency Pin
Mark Salsbery31-Aug-08 7:35
Mark Salsbery31-Aug-08 7:35 
GeneralRe: Code efficiency Pin
Evgeni5731-Aug-08 22:17
Evgeni5731-Aug-08 22:17 
GeneralRe: Code efficiency Pin
Mark Salsbery1-Sep-08 7:58
Mark Salsbery1-Sep-08 7:58 
Questionc++ function help Pin
anjoz96631-Aug-08 4:07
anjoz96631-Aug-08 4:07 
AnswerRe: c++ function help Pin
Cedric Moonen31-Aug-08 5:42
Cedric Moonen31-Aug-08 5:42 
QuestionSTL exception Pin
followait30-Aug-08 23:04
followait30-Aug-08 23:04 
AnswerRe: STL exception Pin
Mark Salsbery31-Aug-08 7:47
Mark Salsbery31-Aug-08 7:47 
GeneralRe: STL exception Pin
followait31-Aug-08 18:00
followait31-Aug-08 18:00 
Questionifstream question Pin
followait30-Aug-08 16:40
followait30-Aug-08 16:40 
QuestionInvert ARGB [modified] Pin
bob1697230-Aug-08 7:12
bob1697230-Aug-08 7:12 
What is the most efficient way to invert the RGB portion of an ARGB without effecting the alpha byte?

For simplicity, I'm assuming the alpha byte is the most significant byte, followed by the Red, Green, and Blue (at least for the sake of discussion)

My best guess at this point is something like...
color ^= 0x00FFFFFF;

modified on Saturday, August 30, 2008 1:41 PM

AnswerRe: Invert ARGB Pin
Mark Salsbery30-Aug-08 8:04
Mark Salsbery30-Aug-08 8:04 

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.