Results 1 to 4 of 4

Thread: Stop repainting of screen temporarily

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    Post

    I am creating a program in which I have to move images around the screen to test for a condition, then move the images back to where they were to start with (its a chess program...have to see if player is in check before allowing the move).

    Is there any way I can turn off the redrawing of the screen/form/images while the pieces are moving and then turn it on again when they're done? Thanks for your help!

  2. #2
    Member
    Join Date
    Mar 1999
    Location
    Louisville, KY
    Posts
    48

    Post

    Have you tried turning you form's ClipControls property to false?

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    Post

    Thanks for the idea, but it didn't work!

    ~seaweed

  4. #4
    New Member
    Join Date
    Jan 2000
    Posts
    5

    Post

    Try using subclassing (Im not sure how to do it properly) and intercepting the windows paint message sent to the form.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width