I'm getting an icon to show in the taskbar that is not called in my test application. This very simple code creates an icon on the tray other than the default "blank" icon:
Here's what I get. You can see the icon on the dialog is blank, but the icon on the taskbar is something else - an icon that once was in the folder where my .bas file is located, but is no longer there and is not referenced in any way in my program.

Do anyone know why that happens?
I can use Dialog Set Icon to call out a specific icon and everything works as it should. But I wouldn't think the code above should have an icon to use in the taskbar.
Thoughts?
Code:
#Compile Exe Function PBMain() Dim hDlg As Dword Dialog New Pixels, 0, "",,, 500,250, %WS_OverlappedWindow , To hDlg Dialog Show Modal hdlg End Function

Do anyone know why that happens?
I can use Dialog Set Icon to call out a specific icon and everything works as it should. But I wouldn't think the code above should have an icon to use in the taskbar.
Thoughts?
Comment