Shoutbox

Single-key boss protection - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Bug Reports (/forumdisplay.php?fid=7)
+----- Thread: Single-key boss protection (/showthread.php?tid=26464)

Single-key boss protection by deanis on 05-31-2004 at 06:07 PM

Am I not supposed to be able to use a function key to invoke boss protection?  I'm using 3.00.92 with MSN 6.2 and trying to set F12 as my boss key.  The preferences window accepts it, but pressing it when MSN is active has no effect.


RE: Single-key boss protection by Sunshine on 05-31-2004 at 06:26 PM

That's because F12 already has a function in windows (print screen) in order for it to work u must choose a key that doesnt already have another windowsfunction.


RE: RE: Single-key boss protection by deanis on 05-31-2004 at 06:31 PM

quote:
Originally posted by Sunshine
That's because F12 already has a function in windows (print screen) in order for it to work u must choose a key that doesnt already have another windowsfunction.


F12 isn't print screen for me in Windows.  I've tried all of the function keys and none of them work.  Other keys are accepted in preferences, like Num Pad +, that don't actually function.
RE: Single-key boss protection by Sk3tch on 05-31-2004 at 06:33 PM

I think you may need to assign 2 keys to enable this, im not sure if that’s like that for a reason but, one key could be assigned to something else like Sunshine said, so use something like Ctrl + F12

quote:
Originally posted by Sunshine
That’s because F12 already has a function in windows (print screen)
F12 isn’t Print Screen, its next to print screen (usually) :)
RE: RE: Single-key boss protection by Sunshine on 05-31-2004 at 06:41 PM

quote:
Originally posted by Sk3tch
I think you may need to assign 2 keys to enable this, im not sure if that’s like that for a reason but, one key could be assigned to something else like Sunshine said, so use something like Ctrl + F12
quote:
Originally posted by Sunshine
That’s because F12 already has a function in windows (print screen)
F12 isn’t Print Screen, its next to print screen (usually) :)


Lol, ur right it's not printscreen it's next to it...but it does have a function (either in windows or another application .. why else would there be such a key on the keyboard?) every key has a function of it's own that's why u should choose a combination of keys.
RE: Single-key boss protection by saralk on 05-31-2004 at 06:54 PM

F12 is quick prefrences in opera so it can work


RE: Single-key boss protection by Choli on 05-31-2004 at 07:46 PM

quote:
Originally posted by deanis
Am I not supposed to be able to use a function key to invoke boss protection?  I'm using 3.00.92 with MSN 6.2 and trying to set F12 as my boss key.  The preferences window accepts it, but pressing it when MSN is active has no effect.
note that even if the shortcut is accepted in the preferences, it should not be used by anyother aplication so it can work.

Assign a shortcut, and if that doesn't work, restart windows. If after that it still doesn't work, I think you should change it, because most probably it's used by other program.
RE: Single-key boss protection by Patchou on 05-31-2004 at 08:23 PM

F12 can't be assigned for a global shortcut in Windows, it's reserved for system operations. I guess Ctrl+F12 should work.


RE: Single-key boss protection by deanis on 05-31-2004 at 08:52 PM

quote:
Originally posted by Patchou
F12 can't be assigned for a global shortcut in Windows, it's reserved for system operations. I guess Ctrl+F12 should work.
Ahh, I see.  I just tried it in an app I wrote and it does fail.  How about adding a check in the Preferences dialog to see if the key you've selected is valid?  I've got code that does that if you want it.
RE: Single-key boss protection by Patchou on 06-01-2004 at 06:28 AM

I should check yes :). However, if the shortcut is not accepted by Windows, Plus! is supposed to remove it (which means that if you go back to the preferences, the F12 shortcut key shouldn't be assigned anymore, but it doesnt always happen).


RE: RE: Single-key boss protection by deanis on 06-01-2004 at 12:59 PM

quote:
Originally posted by Patchou
I should check yes :). However, if the shortcut is not accepted by Windows, Plus! is supposed to remove it (which means that if you go back to the preferences, the F12 shortcut key shouldn't be assigned anymore, but it doesnt always happen).

That would be part of my confusion.  When I go back into Prefs, F12 is still there.

I looked at my code and all I do is try RegisterHotKey().  If that fails, I let the user know that their hot key couldn't be set.