--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote: > --- I wrote: > > > Does anyone know a way of ascertaining the path and index of a > > window's icon, i.e. the icon that displays in the taskbar and next > > to a window's title in the caption? > > --- Sean wrote: > > > I saw an API function "SHGetFileInfoA" linked to shell32.dll in > > powerpro.exe. It might be the function you want to use. > > Is there a way of accessing this information via a PowerPro script, > so that I can set the icon of a command list to this icon?
I don't know. I don't even know the above is the right function... I just saw some API functions which might be related with icon info linked to such as shell32.dll/user32.dll/comctl32.dll. I just thought it might be of help since you mentioned some plugin... There might be a function like win.iconinfo() in win plugin. However, I think we would've already got that function if it could return just plain string info like "...\app,0". It might be only able to return the icon directly such as memory address or whatever. (I can't even tell if this sentence makes a sense at all) BTW, could Window.SendMessage()/win.sendmessage() be used to retrieve infos about the windows? Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> 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/
