CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    1

    Win98 Disk Defrag map similar

    Hi All,
    If you remember in win98 disk defragmentation program, there was a map (full with squares) representing the clusters on the disk, and was moving dynamically and changing colour depending on the state of the cluster. I was wondering how do u call such a graph and if there is any c# example class or something to implement that in my c# codes.

    Cheers,
    Girish

  2. #2
    Join Date
    Jun 2003
    Location
    Malaysia (P.J)
    Posts
    410

    Re: Win98 Disk Defrag map similar

    To accomplish that I would use the gdi+ in .Net. Create an arrays of rectangles in paint events. (eg. e.Graphics.DrawRectangle(...))
    Then you can use the fillrectangle and other draw functions provided in the Graphics class
    Back after a long hibernation.

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

Featured