Prev: Simple Obfuscation
Next: Flag test
From: Mike Williams on 2 Apr 2010 06:57 "Bee" <Bee(a)discussions.microsoft.com> wrote in message news:34B38F3C-9027-48D8-B834-40844F5D6C0E(a)microsoft.com... > Finally! Victory! The stupid here was using BitBlt to put the sprite > centered into an oversize picturebox so the sprite could be rotated. > I was using SRCPAINT instead of SRCCOPY. I do not know why > I figured that out, just stumbled on it. Glad you got it sorted. Mistakes like that are very easy to make, and sometimes difficult to spot. If you ever get really stuck with anything like that again then it usually helps to modify the code slightly and debug it so as to perform each of the blits separately, one at a time into a visible PictureBox (Autoredraw = False), so that you can see the result of each blit individually. > So I am still not qualified to be anything other than a rank > amateur at this. We all begin at the beginning. Nothing wrong with that ;-) Mike |