$EXEICON: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:


{{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.

Revision as of 22:29, 31 January 2023

$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 and command by Fellippe Heitor


See also



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