FreeCommander Forum

Welcome to the FreeCommander forum!
It is currently 08.09.2010, 10:55

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Multimedia keys don't work while FC window is in foreground
PostPosted: 16.10.2008, 02:08 
Offline

Joined: 05.10.2008, 17:34
Posts: 12
Many modern keyboards include additional multimedia and internet keys (volume up/down, mute, play/pause, back/forward etc.)
These keys are usually handled by media players, even when they are running in the background, while volume control is handled by Windows.
However, when FC is in foreground, these buttons stop working.

Steps to reproduce:
  1. Launch any media player and start playing some music
  2. Make any FC window active
  3. Try adjusting volume using the keyboard

Actual results:
Volume control buttons don't work when FC window is active. If you switch focus to another window, they will work.

Expected results:
Volume control buttons should work regardless whether FC is an active window or not.

Cause of the bug:
The problem is caused by incorrect handling of WM_APPCOMMAND notification in FC. MSDN says that applications should return TRUE if they process the message: http://msdn.microsoft.com/en-us/library/ms646275(VS.85).aspx
Therefore, it appears that FC returns TRUE even if it doesn't process the message, preventing other applications to respond to the command keys.

Proposed solution:
Adjust the code so that it returns FALSE when it does not process WM_APPCOMMAND message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 16.10.2008, 20:46 
Offline
Site Admin

Joined: 19.08.2007, 21:40
Posts: 1233
Location: Slovakia
Confirmed! FC beta R388, Win Vista.

_________________
Dreamer


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 28.10.2008, 01:25 
Offline
Site Admin

Joined: 19.08.2007, 21:40
Posts: 1233
Location: Slovakia
Fixed in R389 (beta).

Closed.

_________________
Dreamer


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Homepage | Downloads | Impressum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group