Declare an .ico file
#7
I managed to use _icon using the following code but I had to use Paint to convent the .ico to a .bmp file:

Code: (Select All)
' set title icon
i& = _LoadImage("SIC64.BMP", 32)
If i& < -1 Then
  _Icon i&
  _FreeImage i&
End If
https://qb64phoenix.com/qb64wiki/index.php/LOADIMAGE
NOTE: Icon files are not supported with _LOADIMAGE and an error will occur.
Reply


Messages In This Thread
Declare an .ico file - by eoredson - 03-28-2023, 01:49 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 02:02 AM
RE: Declare an .ico file - by bplus - 03-28-2023, 02:10 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 02:19 AM
RE: Declare an .ico file - by dbox - 03-28-2023, 03:50 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 04:02 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 04:33 AM
RE: Declare an .ico file - by TempodiBasic - 03-28-2023, 01:51 PM
RE: Declare an .ico file - by Petr - 03-28-2023, 02:25 PM
RE: Declare an .ico file - by eoredson - 03-28-2023, 10:06 PM
RE: Declare an .ico file - by Petr - 03-29-2023, 09:46 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 11:34 PM
RE: Declare an .ico file - by mnrvovrfc - 03-29-2023, 11:25 AM
RE: Declare an .ico file - by eoredson - 03-30-2023, 02:05 AM
RE: Declare an .ico file - by eoredson - 03-30-2023, 05:23 AM



Users browsing this thread: 3 Guest(s)