Results 1 to 5 of 5

Thread: Erasing a window

  1. #1
    ChimpFace9000
    Guest

    Post Erasing a window

    If ive drawn stiff on a window, how do i erase it? Ive tried InvlaidateRect and TnvalidateRgn, but their to slow.

  2. #2
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    What do you mean by to slow? To slow when refreshing your graphics?
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  3. #3
    ChimpFace9000
    Guest
    I probably should be using the normal windows functions for graphics huh? Do you know of any Direct X tutorials, non-MFC?

  4. #4
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    You prob want to use BitBlt if you are just putting graphics on a form. I made a basic tutorial for BitBlt:
    http://www.technocracy.f2s.com/Basic%20BitBlt.html
    If you want to know more, just ask, this just covers the basics.

    If you want DirectX check out:
    http://www.drunkenhyena.com/docs/d3d_tutorial.phtml
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  5. #5
    Megatron
    Guest
    IF you want to get in-depth with DirectX, I suggest you look into purchasing Teach Yourself DirectX In 21 Days.

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