Results 1 to 2 of 2

Thread: refresh window when working with graphics

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Posts
    175

    refresh window when working with graphics

    Hi there
    i created the appropriate classes that draw some polygons and lines on panel.

    my problem is:

    1. when i resize or move my window the shapes dissapears. i need to redraw the window - i notice the function onpaint and the e argument. what is that argument and how i use this function considering my 4 classes.?

    thanks allot

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    u'll have to put all drawing code logic in the OnPaint
    \m/\m/

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