No worries :o)
Anyhow, had a quick play with the API, here's what you can do.
.lib "user32.dll"
SetClassLong(hWnd%,nIndex%,Value%) : "SetClassLongA"
.lib "shell32.dll"
LoadIcon%(hWND%,File$,Index%) : "ExtractIconA"
Then you can pop the .ico file you want anywhere you want and load from there. You can also grab from the resource, but this was just a quick way to load a "File" into the current Blitz window.
Anyhow, had a quick play with the API, here's what you can do.
hWND=QueryObject(MainWindow,1) Icon=LoadIcon(hWND,CurrentDir()+"blankpage.ico",0) SetClassLong hWND,-14,IconAdd these commands to the relevant .decls.
.lib "user32.dll"
SetClassLong(hWnd%,nIndex%,Value%) : "SetClassLongA"
.lib "shell32.dll"
LoadIcon%(hWND%,File$,Index%) : "ExtractIconA"
Then you can pop the .ico file you want anywhere you want and load from there. You can also grab from the resource, but this was just a quick way to load a "File" into the current Blitz window.