Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 758 Bytes

resource-compiler-warning-rw4004.md

File metadata and controls

17 lines (13 loc) · 758 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Resource Compiler Warning RW4004
Resource Compiler Warning RW4004
11/04/2016
RW4004
RW4004
596b6a89-9ce7-4ba7-bdcb-e8054c7efafa

Resource Compiler Warning RW4004

ASCII character not equivalent to virtual key code

A string literal was used for the virtual key code in a VIRTKEY type accelerator.

This warning allows you to continue, but be aware that the accelerator keys generated may not match the string you indicated. (VIRTKEYs use different key codes than ASCII accelerators.)

While string literals are syntactically valid, you can only ensure that you get the accelerator you want by using the VK_* #define values in WINDOWS.h.