Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: face recognition Pin
maf3os26-Jan-06 14:18
maf3os26-Jan-06 14:18 
QuestionIterate through object properties Pin
Leo Smith25-Jan-06 11:39
Leo Smith25-Jan-06 11:39 
AnswerRe: Iterate through object properties Pin
[Marc]25-Jan-06 12:15
[Marc]25-Jan-06 12:15 
GeneralRe: Iterate through object properties Pin
Leo Smith25-Jan-06 15:51
Leo Smith25-Jan-06 15:51 
QuestionGraphics.DrawImage - why it's so slow? Pin
Libor Tinka25-Jan-06 11:26
Libor Tinka25-Jan-06 11:26 
AnswerRe: Graphics.DrawImage - why it's so slow? Pin
[Marc]25-Jan-06 12:13
[Marc]25-Jan-06 12:13 
AnswerRe: Graphics.DrawImage - why it's so slow? Pin
Dave Kreskowiak25-Jan-06 16:11
mveDave Kreskowiak25-Jan-06 16:11 
GeneralRe: Graphics.DrawImage - why it's so slow? Pin
Libor Tinka26-Jan-06 2:05
Libor Tinka26-Jan-06 2:05 
In fact, I'm afraid that using buffer will enhance redrawing when image position doesn't change, but when user will need to shift image viewport by a "hand tool", the redrawing buffer with drawing it on control will take slightly more time than redrawing the control directly. However, the buffer idea is good, because there can be more OnPaint calls, not only on mouse moves...

Another idea was to use a three times larger buffer than the control. When user drags mouse over control, the cursor is locked inside the control bounds and OnPaint works just with the buffer. When user releases mouse button, the buffer will update. This can be a little frustrating, when user needs to scroll whole large image (more dragging), but this can be also fast.

I'll try these approaches, thank you very much for the new ideas Smile | :) .
GeneralRe: Graphics.DrawImage - why it's so slow? Pin
Dan Neely26-Jan-06 3:34
Dan Neely26-Jan-06 3:34 
Questionrunning out of PTEs Pin
Mark Hahn CA25-Jan-06 9:14
Mark Hahn CA25-Jan-06 9:14 
AnswerRe: running out of PTEs Pin
Dave Kreskowiak25-Jan-06 15:59
mveDave Kreskowiak25-Jan-06 15:59 
GeneralRe: running out of PTEs Pin
Mark Hahn CA26-Jan-06 8:05
Mark Hahn CA26-Jan-06 8:05 
GeneralRe: running out of PTEs Pin
Dave Kreskowiak26-Jan-06 14:37
mveDave Kreskowiak26-Jan-06 14:37 
QuestionHow to get valid IPs from an IP Range? Pin
bigmacrox25-Jan-06 8:45
bigmacrox25-Jan-06 8:45 
AnswerRe: How to get valid IPs from an IP Range? Pin
tylerl25-Jan-06 9:05
tylerl25-Jan-06 9:05 
GeneralRe: How to get valid IPs from an IP Range? Pin
bigmacrox25-Jan-06 9:17
bigmacrox25-Jan-06 9:17 
GeneralRe: How to get valid IPs from an IP Range? Pin
Mike Dimmick25-Jan-06 10:42
Mike Dimmick25-Jan-06 10:42 
Questiontuples Pin
JoeSox25-Jan-06 7:17
JoeSox25-Jan-06 7:17 
AnswerRe: tuples Pin
User 665825-Jan-06 8:03
User 665825-Jan-06 8:03 
GeneralRe: tuples Pin
JoeSox25-Jan-06 8:10
JoeSox25-Jan-06 8:10 
GeneralRe: tuples Pin
User 665825-Jan-06 8:18
User 665825-Jan-06 8:18 
GeneralRe: tuples Pin
JoeSox25-Jan-06 8:28
JoeSox25-Jan-06 8:28 
AnswerRe: tuples Pin
Kevin McFarlane25-Jan-06 12:37
Kevin McFarlane25-Jan-06 12:37 
GeneralRe: tuples Pin
JoeSox25-Jan-06 12:53
JoeSox25-Jan-06 12:53 
GeneralRe: tuples Pin
Kevin McFarlane26-Jan-06 1:38
Kevin McFarlane26-Jan-06 1:38 

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.