Click here to Skip to main content
15,917,618 members
Home / Discussions / C#
   

C#

 
GeneralRe: MDI Parent and Child Pin
DaveyM696-Jul-08 1:33
professionalDaveyM696-Jul-08 1:33 
GeneralRe: MDI Parent and Child [modified] Pin
benjamin yap6-Jul-08 1:38
benjamin yap6-Jul-08 1:38 
GeneralRe: MDI Parent and Child Pin
DaveyM696-Jul-08 1:59
professionalDaveyM696-Jul-08 1:59 
GeneralRe: MDI Parent and Child Pin
benjamin yap6-Jul-08 2:07
benjamin yap6-Jul-08 2:07 
GeneralRe: MDI Parent and Child Pin
DaveyM696-Jul-08 2:18
professionalDaveyM696-Jul-08 2:18 
GeneralRe: MDI Parent and Child [modified] Pin
DaveyM696-Jul-08 4:16
professionalDaveyM696-Jul-08 4:16 
GeneralRe: MDI Parent and Child [modified] Pin
benjamin yap6-Jul-08 4:48
benjamin yap6-Jul-08 4:48 
GeneralRe: MDI Parent and Child Pin
DaveyM696-Jul-08 5:45
professionalDaveyM696-Jul-08 5:45 
GeneralRe: MDI Parent and Child [modified] Pin
benjamin yap6-Jul-08 6:00
benjamin yap6-Jul-08 6:00 
GeneralRe: MDI Parent and Child Pin
DaveyM696-Jul-08 8:12
professionalDaveyM696-Jul-08 8:12 
GeneralRe: MDI Parent and Child Pin
DaveyM696-Jul-08 9:22
professionalDaveyM696-Jul-08 9:22 
GeneralRe: MDI Parent and Child Pin
benjamin yap6-Jul-08 15:30
benjamin yap6-Jul-08 15:30 
GeneralRe: MDI Parent and Child Pin
DaveyM697-Jul-08 11:29
professionalDaveyM697-Jul-08 11:29 
GeneralRe: MDI Parent and Child Pin
benjamin yap7-Jul-08 22:35
benjamin yap7-Jul-08 22:35 
QuestionBound combobox problem Pin
Alessandra775-Jul-08 4:38
Alessandra775-Jul-08 4:38 
QuestionHow to get a RGB values from an image buffer? Pin
CopperCircle5-Jul-08 2:58
CopperCircle5-Jul-08 2:58 
AnswerRe: How to get a RGB values from an image buffer? Pin
User 66585-Jul-08 3:07
User 66585-Jul-08 3:07 
AnswerRe: How to get a RGB values from an image buffer? Pin
Guffa5-Jul-08 5:47
Guffa5-Jul-08 5:47 
This is how you get the color components of a pixel, specified by the x and y coordinates:
byte* p = (byte *)(void *)pBuffer;
p += (x + y * Width) * 3;
byte r = *(p++);
byte g = *(p++);
byte b = *p;

If you increase the pointer for the last component also, it will point to the next pixel. This is very useful if you access the pixels in sequence, as you don't have to calculate a new address for each pixel.

Despite everything, the person most likely to be fooling you next is yourself.

QuestionCreating DataView filter ... Pin
Jammer5-Jul-08 2:52
Jammer5-Jul-08 2:52 
Questionsetup problem for windows application Pin
K V Sekhar5-Jul-08 1:51
K V Sekhar5-Jul-08 1:51 
AnswerRe: setup problem for windows application Pin
Christian Graus5-Jul-08 2:04
protectorChristian Graus5-Jul-08 2:04 
GeneralRe: setup problem for windows application Pin
K V Sekhar6-Jul-08 21:28
K V Sekhar6-Jul-08 21:28 
Questionhow to change NumberDecimalSeparator ? Pin
Xmen Real 5-Jul-08 1:41
professional Xmen Real 5-Jul-08 1:41 
AnswerRe: how to change NumberDecimalSeparator ? Pin
DaveyM695-Jul-08 1:52
professionalDaveyM695-Jul-08 1:52 
GeneralRe: how to change NumberDecimalSeparator ? Pin
Xmen Real 5-Jul-08 2:33
professional Xmen Real 5-Jul-08 2: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.