Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
GeneralRe: Where is ILDASM in VS 2008? Pin
Simon P Stevens1-May-08 9:24
Simon P Stevens1-May-08 9:24 
AnswerRe: Where is ILDASM in VS 2008? Pin
Luis Alonso Ramos30-Apr-08 11:56
Luis Alonso Ramos30-Apr-08 11:56 
QuestionInvalidate rectangle problem Pin
invader8230-Apr-08 2:57
invader8230-Apr-08 2:57 
GeneralRe: Invalidate rectangle problem Pin
Guffa30-Apr-08 4:10
Guffa30-Apr-08 4:10 
GeneralRe: Invalidate rectangle problem Pin
invader8230-Apr-08 5:08
invader8230-Apr-08 5:08 
AnswerRe: Invalidate rectangle problem Pin
Guffa30-Apr-08 9:19
Guffa30-Apr-08 9:19 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 22:36
invader824-May-08 22:36 
AnswerRe: Invalidate rectangle problem Pin
Luc Pattyn30-Apr-08 5:51
sitebuilderLuc Pattyn30-Apr-08 5:51 
GeneralRe: Invalidate rectangle problem Pin
Guffa30-Apr-08 7:55
Guffa30-Apr-08 7:55 
GeneralRe: Invalidate rectangle problem Pin
Luc Pattyn30-Apr-08 8:39
sitebuilderLuc Pattyn30-Apr-08 8:39 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 22:21
invader824-May-08 22:21 
GeneralRe: Invalidate rectangle problem Pin
Luc Pattyn4-May-08 22:51
sitebuilderLuc Pattyn4-May-08 22:51 
AnswerRe: Invalidate rectangle problem Pin
Luc Pattyn30-Apr-08 8:24
sitebuilderLuc Pattyn30-Apr-08 8:24 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 22:30
invader824-May-08 22:30 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 22:47
invader824-May-08 22:47 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 23:42
invader824-May-08 23:42 
ok i removed the invalidate(currentarea) statement
(wich was not needed)
but the problem still was there

increasing the size of the area fixed the problem.

but i still believe it hasn't anything to do with the "abc problem"
because i think guffa is right about this:

Start at A:
OBC
Move from A to C, first repaint A:
ABC
Then repaint C:
ABO
The B never changes, so it doesn't have to be repainted.


if i move fast with the mouse, and i go from a to c it never reaches b,
never paints anything on location b...
so it never has to refresh the b area.

PROBLEM FOUND:
I changed the code on the mousedown method to (previously only onmousemove),
and it seems when i only invalidate the
previous area, the ellipse only gets draw partially. (very easy to notice when i click next to the clippingrectangle)

the ellipse clips to the clippingrectangle during the onpainthandler...
so previously, the redrawing was indeed unable to redraw previous and current rectangle in one "refresh cycle"

so there are 2 ways to solve this (i think):

either i have to let the FillEllipse method know it doesnt have to clip to the rectangle
(i have no idea how i could achieve this, unless i change the clippingrectangle after
drawing the background, but i don't give it a big chance)

or ill have to combine rectangles with the region stuff...
QuestionCan not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 2:55
N a v a n e e t h30-Apr-08 2:55 
AnswerRe: Can not find entry point to function - Make sure you have exported the dll Pin
Wes Aday30-Apr-08 4:18
professionalWes Aday30-Apr-08 4:18 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 4:42
N a v a n e e t h30-Apr-08 4:42 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
Spacix One30-Apr-08 4:53
Spacix One30-Apr-08 4:53 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 17:34
N a v a n e e t h30-Apr-08 17:34 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
Spacix One1-May-08 8:25
Spacix One1-May-08 8:25 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
Wes Aday30-Apr-08 5:05
professionalWes Aday30-Apr-08 5:05 
AnswerRe: Can not find entry point to function - Make sure you have exported the dll Pin
Rob Graham30-Apr-08 12:04
Rob Graham30-Apr-08 12:04 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 16:42
N a v a n e e t h30-Apr-08 16:42 

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.