• Announcements

    • PaulOBrien

      Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance) CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission) ROMs must give full credit to the original author ISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • PaulOBrien

      Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

volume-key, mute/vibrate problem

1 post in this topic

Hello, I am developing an application in native C++ with Windows Mobile SDK 6 for Samsung Omnia II GT-I8000. I have to use my own UI engine in the appliacation, and I want to inform the user about the volume level with an appearing progressbar. There is no problem if I change the volume level with a short press of the hardware key, the WM_KEYUP/WM_KEYDOWN windows messages are sent by the core, so I can detect them. But if I do a long press for decreasing the volume, the device changes its behaviour to vibrate or mute. There are NO windows messages sent in this case. Is there any solution to detect the volmue level (sound settings, voice/vibrate/mute) state changes? I do not want to poll the values in registy or call other apis frequently for that detection. So if there is any other solution, please inform me. Any help would be appreciated.

The OS version of the used device: Windows Mobile 6.5 Professional CE OS 5.2.21872 (Build 21872.5.0.71)

Used development IDE: Microsoft Visual Studio 2005

Thanks in advance.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.