PostKeybdMessage

hi all,

I m creating the appln that is for cameracapturedialog functionality again as needs changed.I have to catch the event of the OK click of the cameracapturedialog in C#.net with WM 5.0. But i cant find the way to use it. I came accross "PostKeybdMessage" but what exactly it is how to implement i really need help. urgent.

Thanx well in advance.





Answer this question

PostKeybdMessage

  • gamer6000

    I see. The built-in capture dialog does not work like that. It is modal. You won't get any messages until it is dismissed

  • stang4lyfe

    This is how the capture dialog is implemented. Not much you can do.

    You won't be able to use Camera button for your own purpose unless the built-in dialog already uses it



  • AlexBB

    Do you mean you want to prevent user from clicking anything but OK

  • Shril Pyrrho

    then how it would be possible to do the same fuctioning as inbuilt cameras. every time user wants to capture he will have to open dialog again one more thing, many ppc have hardware keys for the camera, how can i fetch that key to have functioning of the OK click on that key


  • Rattlerr

    Thanx for ur help Alex.

    The problem is, if i click ok, the image should get captured but the dialog should not be closed. user can take another snap, as v do with our inbuilt cameras. I want if user clicks on the back button or some another button like other menu options, close button then only camera dialog should be changed


  • WilsonR

    the problem is, i m catching the OK of the dialog, but i have the problem of having the dialog after closing it, I dnt want to close the dialog when user clicks ok but rather when he clicks the back button or closes the application. I m not getting the track of that.


  • Jarron

    What do you mean CameraCaptureDialog.ShowDialog retunrs DialogResult.OK when user clicks OK.

  • PostKeybdMessage