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

    Exclamation icons in imagelist

    When i add a couple of icons from a directory in an imagelist,and i delete after that the directory,and run the application it will show me the icons?
    Or,in another way,the icons once put it in imagelist,does it matter if it exist the directory from where i insert them or not?
    Thanks!

  2. #2
    Join Date
    Mar 2004
    Posts
    3
    When you add an image to an ImageList control, a copy of the image data is added to your project - it's stored in the <formname>.resx file. When you build your project, the information in the resx file is compiled and stored as an 'embedded resouce' in the output assembly...

    So the short answer is: Yes, you can delete the source images

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