Ignore:
Timestamp:
Nov 16, 2001, 8:36:41 AM (24 years ago)
Author:
phaller
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testapp/keyboard/OKeyTest/OKeyTest.cpp

    r7152 r7353  
    245245                default: pszMsg = "unknown"; break;
    246246        }
     247
     248        // get key name
     249        CHAR szBufKey[40];
     250        GetKeyNameText(lParam, szBufKey, sizeof(szBufKey));
    247251       
    248         wsprintf(szBuf, "%08xh %16s (%08xh, %08xh)",
     252        wsprintf(szBuf, "%08xh %16s (%08xh, %08xh) name=[%s]",
    249253                hwnd,
    250254                pszMsg,
    251255                wParam,
    252                 lParam);
     256                lParam,
     257                szBufKey);
    253258
    254259        logString(lpstrOrigin, szBuf);
Note: See TracChangeset for help on using the changeset viewer.