Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commit of the following: commit 75b4686 Author: mm1352000 <music_man1352000@yahoo.com.au> Date: Fri May 27 13:58:46 2016 +1200 Fix problem 3: ACTION_CDEJECT doesn't act on the selected drive in the videos, pictures or music plugins. This problem was caused by a design limitation (ACTION_CDEJECT handled exclusively in main class WndProc()). Design changed to have videos, music and pictures plugins handle ACTION_CDEJECT, and the main class only handles it when those windows are not active. commit 17bf16d Author: mm1352000 <music_man1352000@yahoo.com.au> Date: Fri May 27 13:49:26 2016 +1200 Fix problem 2: the "eject" context menu item in the music and pictures plugins doesn't work when the drive does not contain a disc. The eject context menu item was trying to be too clever, closing the tray when it was open and opening the tray when it was closed. Actually, it's not possible (or very *very* difficult) to distinguish between "open tray" and "closed tray without disc". So, it's better to have the item simply open the tray as suggested by the item label. commit 78fc361 Author: mm1352000 <music_man1352000@yahoo.com.au> Date: Fri May 27 13:37:26 2016 +1200 Fix problem 1: ACTION_EJECTCD doesn't work. Calling EjectCDROM(string.Empty) does not have the intended effect because CreateFile(string.Empty...) returns INVALID_HANDLE_VALUE. So, ejecting the default disc drive needs a completely different implementation. mciSendString() - the previous implementation - is easy and seems to work well, so we use that.
- Loading branch information
Showing
5 changed files
with
57 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters