Difference between revisions of "$EXEICON"

From QB64 Wiki
Jump to navigation Jump to search
imported>SMcNeill
('unsupported' warning)
imported>SMcNeill
(style guidelines)
Line 3: Line 3:


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




{{Parameters}}
{{Parameters}}
* The filename must use an icon extension .ICO inside of apostrophes.
* '{{Parameter|iconfile.ico}}' is a valid [https://en.wikipedia.org/wiki/ICO_(file_format) ICO file]




{{PageDescription}}
{{PageDescription}}


* [[_ICON]] can designate an alternate window image or use the embedded image without any image handle.
* Calling [[_ICON]] without an imageHandle& uses the embeded icon, if available.
* '''[[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_MAC_OSX_versions|Keyword Not Supported in Linux or MAC versions]]'''.




{{PageExamples}}
''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}}

Revision as of 20:04, 5 September 2017

$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
mush.ico download


See also




Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page