Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Z

zayl543

@zayl543
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to activate keys combination with hook ?
    Z zayl543

    Hi To get the symbol @ for example, I must press two buttons at seem time [Alt Gr] + [button with a and 0 near the backspace button]. So actually my application didn't support keys combination, so when I press this combination I get letter 'a' instead of symbol '@'. I am using VCE 2008. Here is the function I am using :

    LRESULT WINAPI EventKey(int nCode, WPARAM wParam, LPARAM lParam)
    {
    if( (nCode == HC_ACTION) && ( (wParam == WM_SYSKEYDOWN) || (wParam == WM_KEYDOWN) ))
    {
    kbdStruct = *((KBDLLHOOKSTRUCT*)lParam);
    nChar = getKeyFromvcode(kbdStruct.vkCode, (PWCHAR)&outputChar, (PWCHAR)&deadChar);

    if(nChar > 0){/* Record the key*/}

    }

    return CallNextHookEx(hKeyHook, nCode, wParam, lParam);
    }

    How can I tell the application to convert keys combinations to its associated letters or symbols ? Regards

    Managed C++/CLI tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups