From: Simon F. <sim...@bb...> - 2002-09-10 11:35:20
|
> -----Original Message----- > From: Mattia Barbon > Sent: 07 September 2002 21:18 > To: David Kaufman > Cc: wxp...@li... > Subject: Re: [wxperl-users] example of loading icons without > .ico file? > > > can someone point me to an example of loading icons from an > > .icl file, .dll or other (windows) icon resource? i'd > > like to package up my icons (into a .dll preferably) and > > ship this with my app instead of a bunch of scattered .ico > > files > I don't think this is possible. wxImage lets you specify an index in the constructor for files that support multiple images (ICO, GIF, TIFF). Perhaps there's a way to load the image and pass the wxImage to the wxIcon object somehow? I've not looked into this seriously, I'm just looking at the docs while wx233 compiles and came across it. Simon BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system, do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. |