can somebody tell me what invalidate(); really does because i heard its used to call the paint event, thing is if i put my code to resize an image on the window as a background it doesn't wanna draw it i see the the old pixels mixed with the new drawed ones..
so if i use invalidate before that it will make all other controls from the window flicker for some reason so is there another function i can use ?
and another thing how can i get a pixel color from the center of cbitmap and draw that color with a width and height ? :P
btw im using MFC, thanks.