Click here to Skip to main content
15,896,517 members
Home / Discussions / C#
   

C#

 
GeneralRe: a narrow, veritical dialog Pin
Jon G19-Apr-04 1:06
Jon G19-Apr-04 1:06 
Generalcdrom tray control Pin
kratchkov18-Apr-04 3:55
kratchkov18-Apr-04 3:55 
GeneralRe: cdrom tray control Pin
Stefan Troschuetz18-Apr-04 6:00
Stefan Troschuetz18-Apr-04 6:00 
GeneralRe: cdrom tray control Pin
MeterMan18-Apr-04 16:22
MeterMan18-Apr-04 16:22 
QuestionC# global variable Concept ? Pin
sreejith ss nair18-Apr-04 3:22
sreejith ss nair18-Apr-04 3:22 
AnswerRe: C# global variable Concept ? Pin
CWIZO18-Apr-04 3:52
CWIZO18-Apr-04 3:52 
AnswerRe: C# global variable Concept ? Pin
Heath Stewart19-Apr-04 2:31
protectorHeath Stewart19-Apr-04 2:31 
Questioncan i get bytes info from DC directly ? Pin
fu018-Apr-04 2:04
fu018-Apr-04 2:04 
Here i use BitBlt(destDC,x,y,w,h,srcDC,x,y,SRCCOPY) to copy srcDC into
destDC.

i think GetPixel(destDC,x,y) can get the Pixel info at Point(x,y).

and my question is :

can i get bytes info from destDC directly ?

because i think get bytes directly is faster than GetPixel()'s way.

why do i bring out this question?
i have read a msdn help 'How to save a true color bitmap into a Gif file'
which tells me how to get the pixelinfo and save the bitmap into a gif
file.And the help says while doing pixels processing,the LockBits() method
is more efficient than GetPixel()'s way.
so i think whether there is a way to get bytes info from DC directly like
LockBits() do.

AnswerRe: can i get bytes info from DC directly ? Pin
Christian Graus18-Apr-04 13:54
protectorChristian Graus18-Apr-04 13:54 
GeneralRe: can i get bytes info from DC directly ? Pin
fu019-Apr-04 21:17
fu019-Apr-04 21:17 
GeneralRe: can i get bytes info from DC directly ? Pin
Christian Graus20-Apr-04 10:44
protectorChristian Graus20-Apr-04 10:44 
GeneralApplication Global Properties Pin
John Baird18-Apr-04 1:42
John Baird18-Apr-04 1:42 
GeneralRe: Application Global Properties Pin
CWIZO18-Apr-04 1:53
CWIZO18-Apr-04 1:53 
GeneralRe: Application Global Properties Pin
John Baird18-Apr-04 1:56
John Baird18-Apr-04 1:56 
GeneralRe: Application Global Properties Pin
CWIZO18-Apr-04 2:12
CWIZO18-Apr-04 2:12 
GeneralRe: Application Global Properties Pin
John Baird18-Apr-04 2:31
John Baird18-Apr-04 2:31 
GeneralRe: Application Global Properties Pin
CWIZO18-Apr-04 3:51
CWIZO18-Apr-04 3:51 
GeneralRe: Application Global Properties Pin
John Baird18-Apr-04 3:55
John Baird18-Apr-04 3:55 
GeneralRe: Application Global Properties Pin
CWIZO18-Apr-04 4:32
CWIZO18-Apr-04 4:32 
GeneralRe: Application Global Properties Pin
Heath Stewart19-Apr-04 2:35
protectorHeath Stewart19-Apr-04 2:35 
GeneralRe: Application Global Properties Pin
Anonymous19-Apr-04 2:52
Anonymous19-Apr-04 2:52 
GeneralRe: Application Global Properties Pin
Heath Stewart19-Apr-04 3:12
protectorHeath Stewart19-Apr-04 3:12 
Questionwhat should I do? marhal or unsafe??? Pin
Paolo Ponzano18-Apr-04 0:51
Paolo Ponzano18-Apr-04 0:51 
AnswerRe: what should I do? marhal or unsafe??? Pin
Daniel Turini18-Apr-04 1:14
Daniel Turini18-Apr-04 1:14 
GeneralRe: what should I do? marhal or unsafe??? Pin
Paolo Ponzano18-Apr-04 1:30
Paolo Ponzano18-Apr-04 1:30 

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.