%mi - Minimised Icon

Purpose

To supply the name of an icon resource to be used in the caption and when the window is minimised.

Syntax

winio@('%mi[icon_name]')
winio@('%`mi', handle)
integer(7) handle     (input)

Modifiers

Grave accent (`) - use a Windows API handle.

Description

icon_name is a standard character string (can be replaced by @) associated with the name of an icon file in a resource script.

handle is a value returned by a modified form of the API function LoadIcon.

icon_name can also take the form of an integer handle surrounded by curly brackets (this is integer kind=7) or the name of an external file surrounded by curly brackets.

Example

winio@('%mi[myicon]')
myicon ICON file.ico      (resource file)

See also

make_icon@, %ic (Icon)

 

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited