Everything Motorola Q  
Home Motorola Q Store Moto Q Software News Moto Q Blog Motorola Q Reviews Moto Q Forums FAQs Wiki Contact Us Everything Q RSS feed


Go Back   Motorola Q Forum | Everything Q > Q Software Developers > Software Developers

Notices

Reply
 
Thread Tools Display Modes
Old 04-27-2007, 10:44 AM   #1 (permalink)
 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
scamp is on a distinguished road
Default Setting ALT on keyboard via Code

I am trying to find a way to "force" the ALT setting (numbers only) on the keyboard for my app via code.

Does anyone know if this is possible? If so, how do I do it?

Thanks!!
scamp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-30-2007, 10:09 AM   #2 (permalink)
 
Join Date: Apr 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
JimDionne is on a distinguished road
Default

Quote:
Originally Posted by scamp View Post
I am trying to find a way to "force" the ALT setting (numbers only) on the keyboard for my app via code.

Does anyone know if this is possible? If so, how do I do it?

Thanks!!
I found this code last week, try it and let me know if it works for you. (the code is used to send a specific key to the application that has control):

SendKeys.Send (chr(&###)) where ### is the number that represents the key you want to send. The number for the ALT key is 262144.

Jim Dionne
JimDionne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2007, 01:27 PM   #3 (permalink)
 
Join Date: Jan 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
ppcinfo is on a distinguished road
Default

Quote:
Originally Posted by JimDionne View Post
I found this code last week, try it and let me know if it works for you. (the code is used to send a specific key to the application that has control):

SendKeys.Send (chr(&###)) where ### is the number that represents the key you want to send. The number for the ALT key is 262144.

Jim Dionne
This would only work specifically for the Moto-Q phone, correct? I don't think it would work for any other phone (since the code number would probably be different).

ppinfo
ppcinfo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2007, 11:13 AM   #4 (permalink)
 
Join Date: Apr 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
JimDionne is on a distinguished road
Default

Quote:
Originally Posted by ppcinfo View Post
This would only work specifically for the Moto-Q phone, correct? I don't think it would work for any other phone (since the code number would probably be different).

ppinfo
We have software running on the Q and on a Pocket PC that recognizes the codes so I say give it a shot.

We got the code numbers from this link:
http://msdn2.microsoft.com/en-us/lib...=printer).aspx

Jim
JimDionne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 01:19 PM   #5 (permalink)
 
qwho's Avatar
 
Join Date: Oct 2006
Location: Pittsburgh, PA
Posts: 298
Thanks: 2
Thanked 21 Times in 14 Posts
qwho is on a distinguished road
Default

Quote:
Originally Posted by JimDionne View Post
I found this code last week, try it and let me know if it works for you. (the code is used to send a specific key to the application that has control):

SendKeys.Send (chr(&###)) where ### is the number that represents the key you want to send. The number for the ALT key is 262144.

Jim Dionne
I can't seem to get the sendkeys function to work. Can you shoot me some source code that makes use of it?

Thanks
qwho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT -5. The time now is 06:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Integrated by BBpixel Team 2008 :: jvbPlugin R1015.37x.1