One small/solid example that probably is what you are after is Using RegisterHotKey with MOD_NOREPEAT
Depending on your compiler/SDK, it might be that you are unable to use the MOD_NOREPEAT
flag, in which case, just don't use that flag anywhere.
Salem commented: It's too unreadable for me to even care, even with code tags +19
jonsca commented: Good catch. +2
Salem commented: Many fine points that deserved better than an anonymous -1 for your effort +19