Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Soft Key Virtual Key Codes

Windows Mobile 6.5
4/8/2010

You can navigate to the soft keys by using hardware controls. For soft keys that display a menu, the menu is displayed immediately upon the application receiving the device code VK_DOWN. For non–menu soft keys that do not display a menu, the action defined by the soft key occurs immediately upon the application receiving the device code VK_UP. Each application is responsible for handling the code to enable custom menus.

Bb431685.note(en-us,MSDN.10).gifNote:
Beginning with Windows Mobile 6.5.3, soft keys are replaced by touchable tiles on Windows Mobile Professional phones.

The following table shows the soft key virtual key (VK) codes.

Soft key Device VK code Emulator VK code

Left soft key (SK1)

VK_SOFT1

VK_F1

Right soft key (SK2)

VK_SOFT2

VK_F2

Other Resources

Soft Keys

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.