Restored from previous forum. Originally posted by Justin.
Does the compiler support resource files like bitmaps, icons, etc..?, or do they have to be outside the executable and be loaded from there.
Resource files
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Justin.
I do this:
ToolBarImageButton(5,CatchImage(0,?logo))
logo:IncludeBinary "Data\Drive.bmp"
in the toolbar example, but the image appears corrupted. Anyway i wanted to have an image in a listiconview item(as a resource) and change it dynamically with another, i think there is not a reasonable way to this in the current version, but i can live without it.
Thanks in any case.
I do this:
ToolBarImageButton(5,CatchImage(0,?logo))
logo:IncludeBinary "Data\Drive.bmp"
in the toolbar example, but the image appears corrupted. Anyway i wanted to have an image in a listiconview item(as a resource) and change it dynamically with another, i think there is not a reasonable way to this in the current version, but i can live without it.
Thanks in any case.
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm