mIRC Home    About    Download    Register    News    Help

Print Thread
#107779 13/01/05 03:49 AM
Joined: Jan 2005
Posts: 25
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Jan 2005
Posts: 25
i need help catching keyboard events (button presses and the like) in DIALOGS. I want to be able to scroll thru data using arrow keys, and perhaps bind aliases to Fkeys that can be used in the dialog.

thanx in adv smirk


- I AM -
#107780 13/01/05 03:53 AM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
for the Fkeys part:

alias f2 { say $active I just hit the F2 key! }

#107781 13/01/05 03:57 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I never thought it was possible to catch when a key is pressed in dialogs, though it probably can be done with a DLL. I'm looking through the MDX help file, but nothing is showing.

#107782 13/01/05 04:43 AM
Joined: Jan 2005
Posts: 25
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Jan 2005
Posts: 25
uhm, aliasing /f? keys only seems to work when mIRC is the active window. i was thinkin bout mdx too, on how u can embed @win's into dialogs, but i dont quite get the hang of it. i even managed to crash my mIRC a few times attempting it LOL grin


- I AM -
#107783 13/01/05 05:05 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Why don't you just use @Windows? Wouldn't that be easier?

#107784 13/01/05 05:18 AM
Joined: Jan 2005
Posts: 25
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Jan 2005
Posts: 25
sorry, but i already have this particular dialog all soupd-up with mdx and all, and am not planning to trade my blood and sweat (but mostly my sweat :tongue:) for a @win (dont wanna hafta learn xgui). i just thought it'd be very useful (for everyone) to be able use the keybrd stuff. i feel that putting so many buttons and using alt+? to trigger them makes my dialog too cluttered crazy


- I AM -
#107785 13/01/05 05:31 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Blood and sweat!? Oh man, you must feel like crap. wink

#107786 13/01/05 05:37 AM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
google a keystroke logger
use it on yourself


The Kodokan will move you, one way or another.
#107787 13/01/05 05:37 AM
Joined: Jan 2005
Posts: 25
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Jan 2005
Posts: 25
UNDERSTATEMENT OF THE CENTURY! LOL grin

Busted my brains makin my dialog, now i effectively have no brain left :P tried makin hiddn conrols, but they still require alt+? to trigger.. sucks... i really wish the was sumthin like on *:dialog:nameKEYDOWN : ... it'd makes things a hell of a lot easier...


- I AM -
#107788 14/01/05 10:16 PM
Joined: Jan 2005
Posts: 25
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Jan 2005
Posts: 25
Quote:
google a keystroke logger
use it on yourself


not wat i need bub. i need the dialog to DIRECTLY INTERACT UPON KB input. wink


- I AM -

Link Copied to Clipboard