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

C#

 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista19-Aug-06 16:17
Ista19-Aug-06 16:17 
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 
Yeah I guess making a picturebox huge inside it would suffice.

I just didn't want to do that because then I have to move the drag and drop stuff around.

Guffa wrote:
Hm...? What is it that is complex about it?


And I could still do it in a panel. 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. It doesn't operate like a panel should.

Shoot I even had to modify the Param's of the panel to get the transparency to work correctly. So I would say the panel is bugged on all aspects. It doesn't fire scrolling events correctly, it doesn't internally invalidate areas of the panel like it should. It maybe not be that its bugged, but it's operation is faulty without a doubt. Microsoft does DirectX so they should know better.

Once you Invalidate it always resets the scroll position to 0. In my opinion thats not very well designed. And plus that means if you want to Invalidate then you have to scroll back. SO that way it looks very annoying. Just because I call Invalidate doesn't mean I want to reset that position. I just want to redraw everything inside.

I fail to see the reason for that design. But, I'm just griping so who cares.

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. Unless they failed to mention that the scrolling object has a method you need to implement to call paint all the time.

But, who cares. Obviously I'm getting way too worked up about this.

Nick




--------------------------------------------------------

1 line of code equals many bugs. So don't write any!!

My mad coder blog

GeneralRe: Invalidate wont actually do what I need to do Pin
Guffa23-Aug-06 9:54
Guffa23-Aug-06 9:54 
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 

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.