CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2002
    Location
    .NET 2.0/.NET 3.0/.NET 3.5 VS2005/VS2008
    Posts
    284

    Replacing colors in images

    I have made a usercontrol that looks like an LC-Display. The ones you have on your video, radio etc.

    My question is however, I made this with images that I store in an imagelist. The foreground color is red. I want to replace this so I can make multiple colors possible Anyone having an idea how I could do that ?
    WM.

    What about weapons of mass construction?

  2. #2
    Join Date
    Nov 2002
    Location
    Tatooine
    Posts
    155
    You can use the ImageAttributes and ColorMap classes to do this.
    That which does not kill us, only makes us stronger.

    MCSD .NET

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