slt
je sais il y a deja beaucoup de tuto sur le sujet mais j en ai lu plein mais j ai toujours un probleme, j arrive a detecter l utilisation d une touche mais je n' arrive pas a empecher son execution:
exemple pour la touche windows
LRESULT CALLBACK KeyboardProc(int code,WPARAM wParam, LPARAM lParam)
{
if (wParam == VK_LWIN || wParam == VK_RWIN)
{
// MessageBox(0, "touche windowws appuyée", "Hook détection", MB_OK);
return 1;
}
CallNextHookEx(NULL, code, wParam, lParam);
return(r);
}
voila j espere que vous pourrez m aider a+