Help saving 100+ icons to a single file. 
Author Message
 Help saving 100+ icons to a single file.

I am writing an app which will use (and change) icons on controls.

It is currently working with 120 ".ico" files which suck up a lot of disk
space and make the directory look busy.

I would appreciate any pointers from you experts out there to a routine which
would allow reading, writing, and updating icon data to a single random access
file.

I have tried "picclip", "listview", "listimage", and resource files and none
of these routines seems to allow a rewrite of a changed icon (or bitmap) under
user program control.

It seems to me that you should be able to "field" a buffer and point it's
contents to the "picture" property of an object, but I cannot find out
anything about the subject of performing your own reads/writes on bitmap data.

Any Ideas ??

Thanks,

Whipple



Mon, 03 Jan 2000 03:00:00 GMT  
 Help saving 100+ icons to a single file.

You can try to put these into a C++ resource files are create a dummy dll
files which will then holds all ofr your icons.

Gary Smith.



Mon, 03 Jan 2000 03:00:00 GMT  
 Help saving 100+ icons to a single file.

I would suggest that you put them in a resource file and use the VB
function LoadResPicture to retrieve them.

Look up LoadResPicture in the VB help files.

Regards,

Keith Benedict
Software Engineer
CCI/Triad Systems

US Code Title 47, Sec.227(a)(2)(B), a computer / modem / printer
meets the definition of a telephone fax machine.  Sec. 227
(b)(1)(C), it is unlawful to send any unsolicited adverti{*filter*}t
to such equipment.  Sec.227(b)(3)(C), a violation of the
aforementioned Section is punishable by action to recover actual
monetary loss, or $500, whichever is greater, for each violation.



Quote:
> I am writing an app which will use (and change) icons on controls.

> It is currently working with 120 ".ico" files which suck up a lot of disk
> space and make the directory look busy.

> I would appreciate any pointers from you experts out there to a routine
which
> would allow reading, writing, and updating icon data to a single random
access
> file.

> I have tried "picclip", "listview", "listimage", and resource files and
none
> of these routines seems to allow a rewrite of a changed icon (or bitmap)
under
> user program control.

> It seems to me that you should be able to "field" a buffer and point it's
> contents to the "picture" property of an object, but I cannot find out
> anything about the subject of performing your own reads/writes on bitmap
data.

> Any Ideas ??

> Thanks,

> Whipple



Tue, 04 Jan 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. 100% Offshore, 100% Private, 100% Online 8849

2. Site 100% fran?ais, 100% développement, 100% Pocket PC

3. How can I save extracted icons as single .ico

4. Saving takes 100 times longer than loading..?

5. saving takes 100 times longer than loading...???

6. Icon: Extract icon and save it as ico-file

7. ExtractIcon api call and then saving the icon to a file (HELP)

8. Saving the content of several RTF text boxes on single file

9. Time Format to 1/100 Sec HELP

10. HELP - VT-100 emulation

11. Help: list 1 to 100 in combo box

12. Help: Data in LONG column truncated to 100 chars

 

 
Powered by phpBB® Forum Software