Click here to Skip to main content
15,902,862 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: how to change NumberDecimalSeparator ? Pin
DaveyM695-Jul-08 3:08
professionalDaveyM695-Jul-08 3:08 
Questionhow to implement recording sound in .net Pin
Ashok Nalam5-Jul-08 0:41
Ashok Nalam5-Jul-08 0:41 
AnswerRe: how to implement recording sound in .net Pin
Giorgi Dalakishvili5-Jul-08 0:50
mentorGiorgi Dalakishvili5-Jul-08 0:50 
QuestionName space for FolderParam Pin
Lijo Rajan5-Jul-08 0:18
Lijo Rajan5-Jul-08 0:18 
AnswerRe: Name space for FolderParam Pin
Giorgi Dalakishvili5-Jul-08 0:24
mentorGiorgi Dalakishvili5-Jul-08 0:24 
GeneralRe: Name space for FolderParam Pin
Lijo Rajan5-Jul-08 0:26
Lijo Rajan5-Jul-08 0:26 
GeneralRe: Name space for FolderParam Pin
Giorgi Dalakishvili5-Jul-08 0:30
mentorGiorgi Dalakishvili5-Jul-08 0:30 
GeneralRe: Name space for FolderParam Pin
Lijo Rajan5-Jul-08 0:33
Lijo Rajan5-Jul-08 0:33 
GeneralRe: Name space for FolderParam Pin
Giorgi Dalakishvili5-Jul-08 0:44
mentorGiorgi Dalakishvili5-Jul-08 0:44 
GeneralRe: Name space for FolderParam Pin
mrcooll6-Jul-08 1:13
mrcooll6-Jul-08 1:13 

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.