I need to communicate with the client everytime a key is pressed. I have handled the windows message:
everytime a key is pressed I do the following:
LRESULT CTreeView::OnKeyDown(int idCtrl, LPNMHDR pnmh,
LPNMTVKEYDOWN pKeyDown = reinterpret_cast<LPNMTVKEYDOWN>(pnmh);
// Get the virtual key code from the NMTVKEYDOWN structure.
WORD wVKey = pKeyDown->wVKey;
As this is only a code, how do I convert it into the actual key pressed.. (Are there any macros). I then have to fire an event to the GUI telling it what key was pressed..
I would appreciate any help....