Click here to Skip to main content
15,913,090 members
Home / Discussions / C#
   

C#

 
Questiondate fomats Pin
dandamudi padma13-Nov-07 17:04
dandamudi padma13-Nov-07 17:04 
AnswerRe: date fomats Pin
Christian Graus13-Nov-07 17:07
protectorChristian Graus13-Nov-07 17:07 
AnswerRe: date fomats Pin
Xmen Real 13-Nov-07 17:21
professional Xmen Real 13-Nov-07 17:21 
AnswerRe: date fomats Pin
Bino B13-Nov-07 21:33
Bino B13-Nov-07 21:33 
AnswerRe: date fomats Pin
DharmarajNagarajan14-Nov-07 1:20
DharmarajNagarajan14-Nov-07 1:20 
QuestionDirectly modify the bits of a bitmap Pin
Skippums13-Nov-07 15:39
Skippums13-Nov-07 15:39 
AnswerRe: Directly modify the bits of a bitmap Pin
Christian Graus13-Nov-07 15:47
protectorChristian Graus13-Nov-07 15:47 
GeneralRe: Directly modify the bits of a bitmap Pin
Skippums14-Nov-07 19:20
Skippums14-Nov-07 19:20 
Yep, that pointer implementation worked nicely. I now have four working implementations... One is with the built in GetPixel and SetPixel methods (excruciatingly slow), the second uses Win API GetPixel and SetPixel methods (as in the first post of this thread) (pretty slow), the third uses the LockBits method on the Bitmap, then I use Marshal.ReadInt32 and Marshal.WriteInt32 to modify the bitmap directly without using pointers (pretty fast), and the final way is to use int pointers and the LockBits method (blazingly fast!) The most unbeleivable part is that the pointer method is faster than the Win API ExtFloodFill method, and I even have WAY more control over how the fill is done (allowing near-matches in addition to exact matches). Thanks for the input!

Jeff
AnswerRe: Directly modify the bits of a bitmap Pin
Luc Pattyn13-Nov-07 15:55
sitebuilderLuc Pattyn13-Nov-07 15:55 
QuestionStored Procedure Pin
mojojojojo13-Nov-07 15:21
mojojojojo13-Nov-07 15:21 
AnswerRe: Stored Procedure Pin
Christian Graus13-Nov-07 15:48
protectorChristian Graus13-Nov-07 15:48 
GeneralRe: Stored Procedure Pin
mojojojojo13-Nov-07 16:38
mojojojojo13-Nov-07 16:38 
GeneralRe: Stored Procedure Pin
Christian Graus13-Nov-07 17:09
protectorChristian Graus13-Nov-07 17:09 
GeneralRe: Stored Procedure Pin
mojojojojo13-Nov-07 17:13
mojojojojo13-Nov-07 17:13 
AnswerRe: Stored Procedure Pin
Vasudevan Deepak Kumar13-Nov-07 20:17
Vasudevan Deepak Kumar13-Nov-07 20:17 
QuestionTo get the point(coordinate) of any control? Pin
omegazafer13-Nov-07 13:27
omegazafer13-Nov-07 13:27 
GeneralRe: To get the point(coordinate) of any control? Pin
omegazafer13-Nov-07 14:06
omegazafer13-Nov-07 14:06 
Questionusing dll created by MinGW in C# code Pin
dfn13-Nov-07 12:57
dfn13-Nov-07 12:57 
AnswerRe: using dll created by MinGW in C# code Pin
Judah Gabriel Himango13-Nov-07 13:01
sponsorJudah Gabriel Himango13-Nov-07 13:01 
QuestionTo show user's screen resolution ? Pin
omegazafer13-Nov-07 12:42
omegazafer13-Nov-07 12:42 
AnswerRe: To show user's screen resolution ? Pin
Christian Graus13-Nov-07 12:45
protectorChristian Graus13-Nov-07 12:45 
GeneralRe: To show user's screen resolution ? Pin
omegazafer13-Nov-07 12:54
omegazafer13-Nov-07 12:54 
GeneralRe: To show user's screen resolution ? Pin
Christian Graus13-Nov-07 12:58
protectorChristian Graus13-Nov-07 12:58 
GeneralRe: To show user's screen resolution ? Pin
Luc Pattyn13-Nov-07 12:58
sitebuilderLuc Pattyn13-Nov-07 12:58 
GeneralRe: To show user's screen resolution ? Pin
omegazafer13-Nov-07 13:12
omegazafer13-Nov-07 13:12 

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.