Re: win32 load icon not from file, but from

2006-08-10 Thread Simon Forman
GHUM wrote: > I have found a "make a icon in traybar" skript, and it loads its Icon > from a file > > hinst = win32gui.GetModuleHandle(None) > iconPathName= "c:/myapp/myapp.ico" > icon_flags = win32con.LR_LOADFROMFILE | win32con.LR_DEFAULTSIZE > hicon = win32gui.LoadImage(hinst, str(iconPathName),

win32 load icon not from file, but from

2006-08-10 Thread GHUM
I have found a "make a icon in traybar" skript, and it loads its Icon from a file hinst = win32gui.GetModuleHandle(None) iconPathName= "c:/myapp/myapp.ico" icon_flags = win32con.LR_LOADFROMFILE | win32con.LR_DEFAULTSIZE hicon = win32gui.LoadImage(hinst, str(iconPathName), win32con.IMAGE_ICON, 0,