Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
AnswerRe: Invalidate wont actually do what I need to do Pin
Guffa19-Aug-06 22:02
Guffa19-Aug-06 22:02 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista20-Aug-06 6:52
Ista20-Aug-06 6:52 
GeneralRe: Invalidate wont actually do what I need to do Pin
Guffa20-Aug-06 14:06
Guffa20-Aug-06 14:06 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista20-Aug-06 16:15
Ista20-Aug-06 16:15 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista21-Aug-06 8:07
Ista21-Aug-06 8:07 
AnswerRe: Invalidate wont actually do what I need to do Pin
Guffa22-Aug-06 8:37
Guffa22-Aug-06 8:37 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista22-Aug-06 9:07
Ista22-Aug-06 9:07 
GeneralRe: Invalidate wont actually do what I need to do Pin
Guffa23-Aug-06 9:54
Guffa23-Aug-06 9:54 
Ista wrote:
I just didn't want to do that because then I have to move the drag and drop stuff around.


Why would you have to move it around?

And it would be complex, because I need to manage the scroll position and what portion is displayed. Plus everytime the scroll is moved I would need to redraw that also.


Why? Isn't the scroll position managed by the object?

If I'm not mistaken, the graphics object that you get in the paint even can tell you what portion is displayed, or rather, what portion you are supposed to draw in the event.

It doesn't fire scrolling events correctly, it doesn't internally invalidate areas of the panel like it should.


And have you noticed that drawing with paint never looks correct. Test it out and scroll. It gets choppy all over the place with tons of copies of your drawing everywhere.


I don't meen this to put you down, but it sounds like you are doing something wrong. Everything in the UI is using the same events as you do, and most of the time it works just fine.

Just because I call Invalidate doesn't mean I want to reset that position. I just want to redraw everything inside.


Then you should invalidate everything inside, not the container.


---
b { font-weight: normal; }

AnswerRe: Invalidate wont actually do what I need to do Pin
Nader Elshehabi20-Aug-06 1:28
Nader Elshehabi20-Aug-06 1:28 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista20-Aug-06 6:44
Ista20-Aug-06 6:44 
QuestionError in report ... [modified] Pin
mostafa_h19-Aug-06 9:25
mostafa_h19-Aug-06 9:25 
QuestionCancelEventHandler? Pin
Dominik Reichl19-Aug-06 8:15
Dominik Reichl19-Aug-06 8:15 
AnswerRe: CancelEventHandler? Pin
leppie19-Aug-06 11:00
leppie19-Aug-06 11:00 
GeneralRe: CancelEventHandler? Pin
Dominik Reichl19-Aug-06 22:35
Dominik Reichl19-Aug-06 22:35 
GeneralRe: CancelEventHandler? Pin
Vitaliy Tsvayer20-Aug-06 1:47
Vitaliy Tsvayer20-Aug-06 1:47 
GeneralRe: CancelEventHandler? Pin
leppie20-Aug-06 2:21
leppie20-Aug-06 2:21 
GeneralRe: CancelEventHandler? Pin
Vitaliy Tsvayer20-Aug-06 3:20
Vitaliy Tsvayer20-Aug-06 3:20 
GeneralRe: CancelEventHandler? Pin
leppie20-Aug-06 3:35
leppie20-Aug-06 3:35 
Questionhelp me Pin
Tahir Shah19-Aug-06 7:16
Tahir Shah19-Aug-06 7:16 
AnswerRe: help me Pin
Colin Angus Mackay19-Aug-06 8:11
Colin Angus Mackay19-Aug-06 8:11 
QuestionAdding a tab Pin
kalyanPaladugu19-Aug-06 5:50
kalyanPaladugu19-Aug-06 5:50 
AnswerRe: Adding a tab Pin
Stefan Troschuetz19-Aug-06 5:53
Stefan Troschuetz19-Aug-06 5:53 
AnswerRe: Adding a tab Pin
User 665819-Aug-06 6:07
User 665819-Aug-06 6:07 
Questionworld 2003 Pin
TAREQ F ABUZUHRI19-Aug-06 4:56
TAREQ F ABUZUHRI19-Aug-06 4:56 
AnswerRe: world 2003 Pin
Nader Elshehabi20-Aug-06 2:07
Nader Elshehabi20-Aug-06 2:07 

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.