ICON property

Window

This property sets or returns the path to an icon file (.ICO).

Get_Property returns path to .ICO file.

Set_Property creates a new icon for an object (value = .ICO file path).

To display an icon stored as a resource in a .DLL or .EXE file, set the ICON property to the name of the file, a pound sign (#), and the resource ID. Resources can be referenced by name or by number; for example:

Set_Property(CtrlEntID, "ICON", "my.dll#MailBox") Set_Property(CtrlEntID, "ICON", "my.exe#1")

Windows '95 displays icons differently than Windows 3.1. To work around this, use bitmap controls instead of icon controls. The BITMAP property supports .ICO files.

  • guides/programming/programmers_reference_manual/icon.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1