Click here to Skip to main content
15,902,842 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 8.3 format Pin
Antony M Kancidrowski15-Feb-05 2:40
Antony M Kancidrowski15-Feb-05 2:40 
GeneralRe: 8.3 format Pin
includeh1015-Feb-05 2:55
includeh1015-Feb-05 2:55 
GeneralRe: 8.3 format Pin
David Crow15-Feb-05 4:12
David Crow15-Feb-05 4:12 
GeneralRe: 8.3 format Pin
Mike Dimmick15-Feb-05 5:01
Mike Dimmick15-Feb-05 5:01 
GeneralRe: 8.3 format Pin
includeh1015-Feb-05 5:53
includeh1015-Feb-05 5:53 
GeneralRGB question.. Pin
rbid15-Feb-05 1:42
rbid15-Feb-05 1:42 
GeneralRe: RGB question.. Pin
RChin15-Feb-05 3:25
RChin15-Feb-05 3:25 
GeneralRe: RGB question.. Pin
normanS15-Feb-05 21:04
normanS15-Feb-05 21:04 
I have played around a bit with inverting frame-grabbed images, and I found that the XOR technique usually works nicely.

Where it will not work well is with grey-scales which are close to mid-range, for example, if you have RGB-15 (5-bits of each colour, high order bit unused), where the R, G, and B values are all half-range = 15 decimal, i.e. the pixel is 0011 1101 1110 1111, XORing will give 1100 0010 0001 0000, i.e R, G, and B are all 10000 binary = 16 decimal.

For cases like this, the XORed text will be very difficult to make out.

To get around this, you could saturate (force to maximum or minimum) each colour component, then XOR / invert the result. For my example, the 15 decimal component values are forced to 0, then inverted to give 11111 binary, which should be visible.
GeneralRe: RGB question.. Pin
basementman15-Feb-05 5:41
basementman15-Feb-05 5:41 
Questionmultiline edit box with 10000 lines??? Pin
rafal7715-Feb-05 1:34
sussrafal7715-Feb-05 1:34 
AnswerRe: multiline edit box with 10000 lines??? Pin
rocky_pulley15-Feb-05 1:47
rocky_pulley15-Feb-05 1:47 
AnswerRe: multiline edit box with 10000 lines??? Pin
David Crow15-Feb-05 4:15
David Crow15-Feb-05 4:15 
AnswerRe: multiline edit box with 10000 lines??? Pin
Ravi Bhavnani15-Feb-05 9:08
professionalRavi Bhavnani15-Feb-05 9:08 
GeneralCalling a C# dll from VC 7 Pin
CLermen15-Feb-05 0:59
CLermen15-Feb-05 0:59 
GeneralRe: Calling a C# dll from VC 7 Pin
Mike Dimmick15-Feb-05 1:15
Mike Dimmick15-Feb-05 1:15 
GeneralRe: Calling a C# dll from VC 7 Pin
CLermen15-Feb-05 2:01
CLermen15-Feb-05 2:01 
GeneralCreating child windows in PreSubclassWindow Pin
Garth Watkins15-Feb-05 0:43
Garth Watkins15-Feb-05 0:43 
GeneralRe: Creating child windows in PreSubclassWindow Pin
Garth Watkins15-Feb-05 9:22
Garth Watkins15-Feb-05 9:22 
GeneralRe: Creating child windows in PreSubclassWindow Pin
Garth Watkins15-Feb-05 9:26
Garth Watkins15-Feb-05 9:26 
GeneralRe: Creating child windows in PreSubclassWindow Pin
ThatsAlok16-Feb-05 19:07
ThatsAlok16-Feb-05 19:07 
GeneralMove a child window to an absolute position Pin
doctorpi14-Feb-05 22:32
doctorpi14-Feb-05 22:32 
GeneralRe: Move a child window to an absolute position Pin
Rajesh_Parameswaran15-Feb-05 0:14
Rajesh_Parameswaran15-Feb-05 0:14 
GeneralRe: Move a child window to an absolute position Pin
doctorpi15-Feb-05 0:20
doctorpi15-Feb-05 0:20 
GeneralRe: Move a child window to an absolute position Pin
User 665815-Feb-05 0:44
User 665815-Feb-05 0:44 
GeneralRe: Move a child window to an absolute position Pin
doctorpi15-Feb-05 0:50
doctorpi15-Feb-05 0:50 

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.