locked
Detect Window Visibility RRS feed

  • Question

  • Hello,

    I'm trying to implement in my application the following behavior:
    When my main screen is shown to the user the user can press, for example, the Volume button and change the volume level and then my main screen will
    be visible again which is fine.
    However the user can also press, for example, the camera button and then press the Red button and my screen won't appear again unless the user run the application\icon again - which is bad for me.
    What i would like to know is whether i can capture the volume button key press as i got for WM_KEYUP the WPARAM of 0x76 and not VK_VOLUME_DOWN or VK_VOLUME_UP as i thought i would.
    Thanks.


    Wednesday, December 9, 2009 4:39 PM

Answers

  • Hi robybd,


    Pls check discussion in thread below :

    http://social.msdn.microsoft.com/Forums/en-IE/windowsmobiledev/thread/fac91217-910e-45f7-bda4-e49c6628bfa8

    Hope this will help you.
    Thanks, Mohsin Shaikh. If you find my post is helpful for you then mark it as answer.
    • Proposed as answer by sanjaytw Friday, December 11, 2009 9:02 AM
    • Marked as answer by ZHE ZHAO Wednesday, December 16, 2009 2:51 AM
    Thursday, December 10, 2009 3:56 AM

All replies

  • anyone?
    Wednesday, December 9, 2009 8:22 PM
  • Hi robybd,


    Pls check discussion in thread below :

    http://social.msdn.microsoft.com/Forums/en-IE/windowsmobiledev/thread/fac91217-910e-45f7-bda4-e49c6628bfa8

    Hope this will help you.
    Thanks, Mohsin Shaikh. If you find my post is helpful for you then mark it as answer.
    • Proposed as answer by sanjaytw Friday, December 11, 2009 9:02 AM
    • Marked as answer by ZHE ZHAO Wednesday, December 16, 2009 2:51 AM
    Thursday, December 10, 2009 3:56 AM