$EXEICON: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(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
 
(17 intermediate revisions by the same user not shown)
Line 3: Line 3:


{{PageSyntax}}
{{PageSyntax}}
: [[$EXEICON]]:'{{Parameter|iconfile.ico}}'
: [[$EXEICON]]''':''''{{Parameter|iconfile.ico}}'




{{Parameters}}
{{PageParameters}}
* '{{Parameter|iconfile.ico}}' is a valid [https://en.wikipedia.org/wiki/ICO_(file_format) ICO file]
* '{{Parameter|iconfile.ico}}' is a valid [[Wikipedia:ICO (file_format)|ICO file]]




{{PageDescription}}
{{PageDescription}}
* Calling [[_ICON]] without an {{Parameter|imageHandle&}} uses the embeded icon, if available.
* Calling [[_ICON]] without an {{Parameter|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.
** Starting with '''build 20170906/64''', the window will automatically use the icon embedded by [[$EXEICON]], without having to call _ICON.
* '''[[Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions|Keyword Not Supported in Linux or MAC versions]]'''.
* '''[[Keywords currently not supported by QB64#Keywords_not_supported_in_Linux_or_macOS_versions|Keyword not supported in Linux or macOS versions]]'''




Line 20: Line 19:
''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}}:'mush.ico'
{{Cm|$EXEICON}}:{{Text|<nowiki>'mush.ico'</nowiki>|#919191}}
{{Cl|_ICON}}
{{Cl|_ICON}}
{{CodeEnd}}{{small|Code and command by Fellippe Heitor}}  
{{CodeEnd}}
 
{{Small|Code by Fellippe Heitor}}
<center>[http://www.qb64.net/forum/index.php?action=dlattach;topic=13762.0;attach=4558 mush.ico download]</center>




Line 30: Line 28:
* [[_ICON]]
* [[_ICON]]
* [[_TITLE]]
* [[_TITLE]]




{{PageNavigation}}
{{PageNavigation}}

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


Description


Examples

Example: Embeds a designated icon file into the compiled EXE which can be viewed in Windows Explorer folders.

$EXEICON:'mush.ico'
_ICON
Code by Fellippe Heitor


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link