Hi 2 all
How can i hook keyboard Interrupt ,. means when software is minimize the
key stroke are captured in to a table or array
--
Qaiser Me

Re: Keybord by man-wai

man-wai
Fri Nov 25 03:49:41 CST 2005

QaiserMehmood wrote:
> Hi 2 all
> How can i hook keyboard Interrupt ,. means when software is minimize the
> key stroke are captured in to a table or array

form.keypress() and form.keypreview?

--
.~. Might, Courage, Vision. Sincerity. http://www.linux-sxs.org
/ v \
/( _ )\ (Fedora Core 4) Linux 2.6.14-1.1637_FC4
^ ^ 17:49:01 up 8:53 0 users 0.05 0.01

Re: Keybord by Matthew

Matthew
Fri Nov 25 13:49:42 CST 2005

If the app is minimized, and more importantly is not the foreground windows
app, you can't. Keystrokes will not be sent to it to be captured.


"QaiserMehmood" <qaiserme@fastmail.fm> wrote in message
news:61C2E8AB-F24F-4420-A53A-D213D0591F64@microsoft.com...
> Hi 2 all
> How can i hook keyboard Interrupt ,. means when software is minimize the
> key stroke are captured in to a table or array
> --
> Qaiser Me
>
>



Re: Keybord by R

R
Sat Nov 26 01:09:58 CST 2005

Try bindevent
"Matthew Reed" <matty don't send me any freaking spam at zootal dot com
remove the don't send me any freaking spam> wrote in message
news:eUeoLkf8FHA.2816@tk2msftngp13.phx.gbl...
> If the app is minimized, and more importantly is not the foreground
windows
> app, you can't. Keystrokes will not be sent to it to be captured.
>
>
> "QaiserMehmood" <qaiserme@fastmail.fm> wrote in message
> news:61C2E8AB-F24F-4420-A53A-D213D0591F64@microsoft.com...
> > Hi 2 all
> > How can i hook keyboard Interrupt ,. means when software is minimize
the
> > key stroke are captured in to a table or array
> > --
> > Qaiser Me
> >
> >
>
>



Re: Keybord by ae

ae
Sat Nov 26 18:36:39 CST 2005

try inkey()
***************************************************************
*ox = NEWOBJECT("form1","form1.vcx") && form1 includes text1 textbox
*ox.show
DO WHILE .T.
x = ""
a = INKEY(0, "H")
DO WHILE .T.
IF !BETWEEN(a, 1, 255)
EXIT
ENDIF
IF a = 13 && Enter pressed
EXIT
ENDIF
IF a = 107
EXIT
ENDIF
x= x + CHR(a)
a = INKEY(0, "H")
ENDDO
IF a = 107 && ALT+F4 pressed
EXIT
ENDIF
IF LEN(x) > 0
*ox.text1.value = x
*ox.show
?x
ENDIF
ENDDO