c++ - Converting a Virtual-Key code to ASCII -


hi need convert these virtual-key codes https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx ascii saw function https://msdn.microsoft.com/en-us/library/windows/desktop/ms646316%28v=vs.85%29.aspx
don't know how can use since need call thatcout << "you pressed key" << (char) i; . being int translated. toascii gives me lpword don't know how can use cout that. thank answers :)

lpword pointer word. uses hungarian notation. (l - long, p - pointer). word unsigned 16-bit integer.

it's matter of determining key links integer.

see windows data types on lpword , word.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -