Log in

View Full Version : Using the Talk button in Your Application


Kris Kumar
09-06-2005, 10:30 AM
<div class='os_post_top_link'><a href='http://blogs.msdn.com/windowsmobile/archive/2005/09/02/460327.aspx' target='_blank'>http://blogs.msdn.com/windowsmobile/archive/2005/09/02/460327.aspx</a><br /><br /></div><i>"Ever wanted to use the phone's green Talk key (sometimes called the Send button) in your application? You can, but the docs are pretty well hidden, ... Basically, your app sends a SHCMBM_OVERRIDEKEY message, once, to its own menu bar telling it "When the user presses the Talk button (when my app is foreground) I want to recieve that as a WM_HOTKEY from now on." Obviously, the most common use for this is to initiate a phone call to a specific number from within your app (using PhoneMakeCall()). I wouldn't recommend using it for something non-phone-related. On Smartphone, you can also override some of the other hardware buttons like Volume Up and Down."</i><br /><br /> <img src="http://www.smartphonethoughts.com/images/Kris-Sept05-Talk.jpg" alt="User submitted image" title="User submitted image"/> <br /><br />Jason Fuller has posted a handy tip for overriding some of the special function buttons on the Smartphone in your application.