Unit 'icon' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

ICONCTRLA_IsNativeIcon

Tag for IconControlA(), Check whether this icon was allocated by icon.library or if consists solely of a statically allocated struct DiskObject. (PLongInt).

Declaration

Source position: icon.pas line 171

const ICONCTRLA_IsNativeIcon = ICONA_Dummy + 80;

Description

Per Icon Option for IconControlA() There is an important difference between struct DiskObject icons allocated by icon.library itself (these are the so-called "native" icons) and statically initialized icons which consist solely of a simple struct DiskObject which may be part of a program's static data area. For example, you can attach a palette mapped icon image to a "native" icon, which is something you cannot do with a statically allocated icon. To help you tell the two types apart, you can use the ICONCTRLA_IsNativeIcon query tag.


Documentation generated on: 2021-07-30