Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/14/2010

You can use the press-and-hold feature of a program key to create a new document. This process is similar to clicking Newon the Filemenu on a desktop computer.

To program a press-and-hold feature for a program key

  1. Call the SHGetAppKeyAssocfunction to determine the VK code of your application.

  2. Set a timer in your application to the amount of time you want a user to hold down the control. Generally, this should be no longer than one second.

  3. When the timer expires, call the Windows Embedded CE GetAsyncKeyStatefunction using the VK code received from SHGetAppKeyAssoc.

    If GetAsyncKeyStatereturns a VK_DOWNmessage, the program control was held the entire time.

For more information about VK mapping, consult the documentation for the device driver available from the manufacturer of your target device.

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.