| View previous topic :: View next topic |
| Author |
Message |
szekelya
Joined: 15 Dec 2008 Posts: 13
|
Posted: Mon Dec 15, 2008 3:19 pm Post subject: Can the tray icon be compiled into the exe file... |
|
|
..so that I won't have to provide external icon files together with the compiled exe?
In some cases I need two tray icons, to show if the script is running or suspended, so linking to the exe's compiled icon alone would not be a solution.
many thx
Andras |
|
| Back to top |
|
 |
Dra_Gon
Joined: 25 May 2007 Posts: 373
|
Posted: Mon Dec 15, 2008 4:39 pm Post subject: |
|
|
Take a look at this in the Docs {section under "Menu"}:
"Change the Tray Icon or ToolTip".
I think this might be what you're looking for. Plus, when you compile a script, you can use "FileInstall" so your icons will always be with the EXE you've compiled. You can also use icons which are generally included with Windows OS's. These files have some good ones:
C:\WINNT\system32\SHELL32.dll
C:\WINNT\system32\compstui.dll
C:\WINNT\system32\comres.dll
C:\WINNT\system32\ddeshare.exe
Ciao,
Dra'Gon _________________
For a good laugh {hopefully} >> megamatts.50megs.com
My WritersCafe profile>>
http://www.writerscafe.org/writers/BlueDragonFire/ |
|
| Back to top |
|
 |
szekelya
Joined: 15 Dec 2008 Posts: 13
|
Posted: Mon Dec 15, 2008 7:33 pm Post subject: |
|
|
FileInstall is not really what I'm looking for, because it will recreate the external icons after the script is first run, and my aim is to have a single exe file, no icons.
Using the OS built in icon libraries might be a good idea, I thought about that, but I think it's OS specific. Or do we have the same or equivalent icons in shell32.dll in XP and Vista? |
|
| Back to top |
|
 |
Slanter
Joined: 28 May 2008 Posts: 739 Location: Minnesota, USA
|
Posted: Mon Dec 15, 2008 8:57 pm Post subject: |
|
|
Check out this: _________________ Unless otherwise stated, all code is untested
(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination. |
|
| Back to top |
|
 |
|