Get key names as a string!

Well how do you get key names, for eg: when you type “A” you should get a string like “A ” or when you press page down you get a string like “Page Down”! It’s easy, there is a windows API for this purpose called GetKeyNameText. [sourcecode language=’cpp’]LRESULT CMyDlg::WindowProc(UINT Message, WPARAM wParam, LPARAM lParam) { […]
Continue reading…