HotKeySet general principles
Posted 24 May 2012 - 06:29 PM
If that is correct then what happens if some yahoo just sits there and holds down the hotkey? That would mean then even if the program was in the middle of the first hotkey press it would stop what it was doing and re-enter the hot key function yet again wouldn't it?
So if this yahoo holds down the hotkey you could wind up in a more or less a recussion state where the program is 1,000 deep in to this hotkey function. Thanks can't be good for the stack or anything else. How do you get around this problem? (besides shooting the yahoo)
Posted 24 May 2012 - 09:31 PM
I understand the "You could unset the hotkey upon entering the function and re-set it before it;s return". Is that pretty much shandard operating procedure on the hotkeyset function? The standard way of doing things?
Posted 24 May 2012 - 11:13 PM
I was thinking it ran after returning from whatever function was running when you hit the hotkey.
I think the unsetting of a hotkey is only standard, when you might be sending the same hotkey withing the function the hotkey fires.
Sorry for the confusion.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users