lowbred Posted February 11, 2019 Share Posted February 11, 2019 (edited) Could someone please explain what's up? I'm making a launcher for DOSBox. The script will place two buttons on the titlebar. One that shows/hides the console window and the other to paste text into DOSBox. I have replaced the default icon group in dosbox.exe, leaving the default 16x16. I want to keep the default 16x16 for list, details view in explorer and titlebars. When I launch DOSBox my new icon is on the taskbar. The problem is when I hide/show the console window the taskbar icon changes from my new icon (I believe the taskbar uses 32x32 icon by default) to the 16x16. The console window does use the 16x16 on the titlebar. The examples below are basic examples of what's happening. ShellExecute("dosbox.exe", "-noconsole") default 16x16 icon on taskbar ShellExecute("dosbox.exe") new 32x32 on taskbar Run("dosbox.exe -noconsole") default 16x16 icon on taskbar Run("dosbox.exe") new 32x32 on taskbar How can I stop this from happening? or How could I refresh the taskbar after hiding/showing the console window to have the 32x32 icon again? Edited February 11, 2019 by lowbred formatting Link to comment Share on other sites More sharing options...
Developers Jos Posted February 11, 2019 Developers Share Posted February 11, 2019 Quote DOSBox emulates a full x86 pc with sound and DOS. Its main use is to run old DOS games on platforms which don't have DOS Right? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
lowbred Posted February 11, 2019 Author Share Posted February 11, 2019 Yes sir... That it does wonderfully. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 11, 2019 Developers Share Posted February 11, 2019 1 minute ago, lowbred said: Yes sir... That it does wonderfully. understood, but.... against our forumrules, so please read those now. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts