Page History
...
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:
Code Block |
---|
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.