怎样从虚拟建virtual-key code得到键名KeyNameText?
我知道这个函数,可是参数不是virtual-key code
int GetKeyNameText(
LONG lParam, // second parameter of keyboard message
LPTSTR lpString, // buffer for key name
int nSize // maximum length of key name
);
做程序键盘设置得时候,比如像左用光标键<-,是保存虚拟建还是保存lParam?保存虚拟键怎么得到KeyNameText?保存lParam怎么得到虚拟键?用
UINT MapVirtualKey(
UINT uCode, // virtual-key code or scan code
UINT uMapType // translation to perform
);
LEFT和NUM4是一样的-_-
谁有键盘设置的例子啊?