Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
QuestionA control that extracts information re PDF fillable fields Pin
NewbieDude24-Apr-06 1:20
NewbieDude24-Apr-06 1:20 
QuestionHow to tell when LstView finished sorting Pin
michaelbaylon24-Apr-06 0:44
michaelbaylon24-Apr-06 0:44 
AnswerRe: How to tell when LstView finished sorting Pin
Ed.Poore24-Apr-06 0:51
Ed.Poore24-Apr-06 0:51 
AnswerRe: How to tell when LstView finished sorting Pin
Josh Smith24-Apr-06 7:24
Josh Smith24-Apr-06 7:24 
QuestionBitmaps and Unsafe Code Pin
stewwi24-Apr-06 0:41
stewwi24-Apr-06 0:41 
AnswerRe: Bitmaps and Unsafe Code Pin
Christian Graus24-Apr-06 1:35
protectorChristian Graus24-Apr-06 1:35 
GeneralRe: Bitmaps and Unsafe Code Pin
stewwi24-Apr-06 1:41
stewwi24-Apr-06 1:41 
GeneralRe: Bitmaps and Unsafe Code Pin
Aaron Dilliard24-Apr-06 3:53
Aaron Dilliard24-Apr-06 3:53 
Is there any particular reason you are using pointers to do this? It could be accomplished whithout them. You could tie your bitmap to a graphics object...

Graphics g=Graphics.FromImage(myBmp);

...
then you could fill the image (much faster than indexing)
g.Clear(Color.Black);

Next, I take it you are setting the RGB value of each pixel in your for loop, but you are setting them all to Red as it looks, so why not just use....

g.Clear(Color.Red);

This will work very fast. If this isnt the solution you are needing, let me know,
Aaron
GeneralRe: Bitmaps and Unsafe Code Pin
stewwi24-Apr-06 4:04
stewwi24-Apr-06 4:04 
GeneralRe: Bitmaps and Unsafe Code Pin
Robert Rohde24-Apr-06 4:41
Robert Rohde24-Apr-06 4:41 
GeneralRe: Bitmaps and Unsafe Code Pin
stewwi24-Apr-06 4:54
stewwi24-Apr-06 4:54 
GeneralRe: Bitmaps and Unsafe Code Pin
Christian Graus24-Apr-06 12:13
protectorChristian Graus24-Apr-06 12:13 
QuestionHow to set ip address/hostname remotely Pin
lmyo23-Apr-06 21:48
lmyo23-Apr-06 21:48 
AnswerRe: How to set ip address/hostname remotely Pin
Ed.Poore24-Apr-06 0:33
Ed.Poore24-Apr-06 0:33 
QuestionRead mails from mail server Pin
AmitSumit23-Apr-06 21:09
AmitSumit23-Apr-06 21:09 
AnswerRe: Read mails from mail server Pin
Yuvi Panda23-Apr-06 22:59
Yuvi Panda23-Apr-06 22:59 
GeneralRe: Read mails from mail server Pin
Rob Philpott24-Apr-06 5:36
Rob Philpott24-Apr-06 5:36 
GeneralRe: Read mails from mail server Pin
AmitSumit24-Apr-06 21:11
AmitSumit24-Apr-06 21:11 
QuestionFile Systems in asp.net Pin
spokione23-Apr-06 21:03
spokione23-Apr-06 21:03 
QuestionProblem in Console application Pin
Sunny H23-Apr-06 20:59
Sunny H23-Apr-06 20:59 
AnswerRe: Problem in Console application Pin
karande2323-Apr-06 21:05
karande2323-Apr-06 21:05 
GeneralRe: Problem in Console application Pin
karande2323-Apr-06 21:11
karande2323-Apr-06 21:11 
AnswerRe: Problem in Console application Pin
HimaBindu Vejella23-Apr-06 21:45
HimaBindu Vejella23-Apr-06 21:45 
Questionthreading Pin
karande2323-Apr-06 20:55
karande2323-Apr-06 20:55 
AnswerRe: threading Pin
Robert Rohde24-Apr-06 0:09
Robert Rohde24-Apr-06 0:09 

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.