Jump to content
lowbred

Another launcher question...

Recommended Posts

lowbred

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 by lowbred
formatting

Share this post


Link to post
Share on other sites
lowbred

Yes sir... That it does wonderfully.

 

 

Share this post


Link to post
Share on other sites
Jos
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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×