$EXEICON: Difference between revisions
Jump to navigation
Jump to search
Code by Fellippe Heitor
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{PageSyntax}} | {{PageSyntax}} | ||
: [[$EXEICON]]:'{{Parameter|iconfile.ico}} | : [[$EXEICON]]''':''''{{Parameter|iconfile.ico}}' | ||
{{PageParameters}} | {{PageParameters}} | ||
* '{{Parameter|iconfile.ico}}' is a valid [ | * '{{Parameter|iconfile.ico}}' is a valid [[Wikipedia:ICO (file_format)|ICO file]] | ||
Line 22: | Line 22: | ||
{{Cl|_ICON}} | {{Cl|_ICON}} | ||
{{CodeEnd}} | {{CodeEnd}} | ||
{{Small|Code | {{Small|Code by Fellippe Heitor}} | ||
Latest revision as of 16:28, 14 June 2024
$EXEICON pre-compiler metacommand embeds a designated icon file into the compiled EXE file to be viewed in Windows Explorer.
Syntax
- $EXEICON:'iconfile.ico'
Parameters
- iconfile.ico is a valid ICO file
Description
- Calling _ICON without an imageHandle& uses the embeded icon, if available.
- Starting with build 20170906/64, the window will automatically use the icon embedded by $EXEICON, without having to call _ICON.
- Keyword not supported in Linux or macOS versions
Examples
Example: Embeds a designated icon file into the compiled EXE which can be viewed in Windows Explorer folders.
$EXEICON:'mush.ico' _ICON |
See also