Hi, Bruce!

I've uploaded PPro ICL library to 'Files > Plug-ins_and_add-ons' directory.

The files are called: PProicl.zip and PProicl_source.zip (if anyone is
interested in source)

I've put both Unicode and ASCII versions of the function:

HICON PProicl_LoadIconW(LPCWSTR pszFile, WORD wIconNum, WORD wIconSize);
HICON PProicl_LoadIconA(LPCSTR pszFile, WORD wIconNum, WORD wIconSize);

pszFile   - the ICL file name
wIconNum  - icon's ordinal number (starting from 0)
wIconSize - icon size (any size)

The function will attempt to find the icon with requested size and maximum
number of colors. If there's no icon of requested size, the first bigger one
is used. If there's no bigger icon, the biggest icon available is used.
Hopefully, this works :) Testing by a few more people would be nice.

-- 
Marko
ICQ: 5990814

I'm not under the alkafluence of inkahol
that some thinkle peep I am.
It's just the drunker I sit here the longer I get.


Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to