Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!ucbvax!ucsd!ogicse!unicorn!milton!tyche From: tyche@milton.u.washington.edu (Berg/Onstad) Newsgroups: comp.windows.ms.programmer Subject: Getting arbitrary Icons from files Summary: ? Looking for how to load arbitrary Icons Keywords: Icons, Resources Message-ID: <1991Apr4.223926.11347@milton.u.washington.edu> Date: 4 Apr 91 22:39:26 GMT Organization: University of Washington Lines: 24 I would like to be able to load arbitrary Icons and manipulate them in a utility I am writing. The SDK routines support Icon loading for _known_ resources, but I can't seem to find how to access _unknown_ icon resources. That is, LoadIcon requires the icon name or int resource id. FindResource, on the other hand, works with accelerators, bitmaps, dialogs, fonts, fontdirs, menus, and user data, but not icons. Should I be treating icon data as user data somehow? Also, there are some undocumented functions for handling icons: LoadIconHandler, GetIconId, LoadDibIconHandler; any idea how to use any of these? ... wondering in netland, Sven -- +---------------------------------------+ Sven Berg tyche@milton.u.washington.edu +---------------------------------------+