Results 1 to 2 of 2

Thread: Painting problems.

  1. #1
    amac
    Guest

    Painting problems.

    I'm having a problem with resizing a window and control not being painted properly....

    I have 3 controls in the bottom right hand corner which are moved when the window is resized. If you take a look at the attached file you will see the result. This happens sometimes... like if I click and resize the window quickly, but if I do it more slowly it doesn't

    Anyone having any ideas on how I can fix this?
    Attached Images Attached Images  

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    A call to MoveWindow that changes only the position does not need to repaint the window, so pass FALSE as the bRepaint and invalidate the uncovered area yourself (I know this is tedious, but I think it will improve the performance and maybe solve your problem.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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