Results 1 to 7 of 7

Thread: [resolved] [2005] Why drawing gets cleared?

  1. #1

    Thread Starter
    Hyperactive Member jonwondering's Avatar
    Join Date
    May 2005
    Posts
    311

    Resolved [resolved] [2005] Why drawing gets cleared?

    I draw several rectangles and circles on the panel control on my form, but when some other window gets above that drawing, the drawing gets cleared. If I pull a folder over half the drawing, and then minimize that folder, the other half is still showing but not the half that the folder was over. Or if I minimize the application, then the drawing disappears and I have to click the button to redraw it again. Why does that happen? Any way to fix this?

    Thanks.
    Last edited by jonwondering; Jun 22nd, 2006 at 02:22 PM.

  2. #2
    Hyperactive Member
    Join Date
    Sep 2005
    Location
    Alaska
    Posts
    435

    Re: [2005] Why drawing gets cleared?

    If you used CreateGraphics, it is being cleared when the form redraws.

  3. #3

    Thread Starter
    Hyperactive Member jonwondering's Avatar
    Join Date
    May 2005
    Posts
    311

    Re: [2005] Why drawing gets cleared?

    yes yes. that's what i used. any way to fix this?

  4. #4
    Lively Member
    Join Date
    Jun 2006
    Location
    City of Angles. Right Angles.
    Posts
    110

    Re: [2005] Why drawing gets cleared?


  5. #5
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: [2005] Why drawing gets cleared?

    Check out the links in my signature for tutorials on GDI+
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  6. #6

    Thread Starter
    Hyperactive Member jonwondering's Avatar
    Join Date
    May 2005
    Posts
    311

    Re: [2005] Why drawing gets cleared?

    thanks tylerm and supertotallyawesome!

  7. #7

    Thread Starter
    Hyperactive Member jonwondering's Avatar
    Join Date
    May 2005
    Posts
    311

    Re: [2005] Why drawing gets cleared?

    ok i will, thanks mpdeglau.

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