Quote Originally Posted by jmcilhinney View Post
If you were drawing on a piece of paper, how would you do this? If you drew the black keys first and then the white ones, the black ones would be covered by the white ones and you wouldn't see them, right? You'd have to draw the white ones first, then the black ones over the top.

The same goes for GDI+. Each pixel only displays the last thing that was drawn on it, so you need to draw the black rectangles last if you want to be able to see them over the white ones.

Thanks, that makes sense I just switched the black and white around and it works. Sorry about the huge picture, thought it would be smaller. Thanks for the help guys.


Drew