$EXEICON: Difference between revisions
Jump to navigation
Jump to search
Code and command by Fellippe Heitor
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "'''$EXEICON''' pre-compiler metacommand embeds a designated icon file into the compiled EXE file to be viewed in Windows Explorer. {{PageSyntax}} : $EXEICON:'{{Parameter|iconfile.ico}}' {{Parameters}} * '{{Parameter|iconfile.ico}}' is a valid [https://en.wikipedia.org/wiki/ICO_(file_format) ICO file] {{PageDescription}} * Calling _ICON without an {{Parameter|imageHandle&}} uses the embeded icon, if available. ** Starting with '''build 20170906/64''', the...") |
No edit summary |
||
Line 20: | Line 20: | ||
''Example:'' Embeds a designated icon file into the compiled EXE which can be viewed in Windows Explorer folders. | ''Example:'' Embeds a designated icon file into the compiled EXE which can be viewed in Windows Explorer folders. | ||
{{CodeStart}} | {{CodeStart}} | ||
{{Cl|$EXEICON}}:' | {{Cl|$EXEICON}}:'myexe.ico' | ||
{{Cl|_ICON}} | {{Cl|_ICON}} | ||
{{CodeEnd}}{{small|Code and command by Fellippe Heitor}} | {{CodeEnd}}{{small|Code and command by Fellippe Heitor}} | ||
Revision as of 22:49, 21 April 2022
$EXEICON pre-compiler metacommand embeds a designated icon file into the compiled EXE file to be viewed in Windows Explorer.
Syntax
- $EXEICON:iconfile.ico
- 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 MAC versions.
Examples
Example: Embeds a designated icon file into the compiled EXE which can be viewed in Windows Explorer folders.
$EXEICON:'myexe.ico' _ICON |
See also