Jump to content

Recommended Posts

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
Link to post
Share on other sites
  • Developers
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 post
Share on other sites
  • Developers
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 post
Share on other sites
  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...