Hi,

I need to capture the stylus input, when the stylus is pressed
anywhere on the screen (outside the bounds of my application), much
like the "write anywhere" option of the transcriber.

I was able to create a SIP (soft input panel) application, and I
can capture the stylus input in that application window. If I use the
SetCapture() function, I can capture the whole stroke, only if it
started within the bounds of the SIP, and later dragged outside the
window bounds. But how can I capture it when the stroke starts
outside the bounds of my application ? Any help will be appreciated.

Thanks

Re: Capturing stylus input anywhere on the screen by Fabien

Fabien
Wed Feb 13 07:08:37 CST 2008

Hi,

You can call GetAsyncKeyState(0x01) (http://msdn2.microsoft.com/en-us/
library/ms646293(VS.85).aspx) to see if the stylus is pressed when the
funtion is called.

Hope it can help you.

Best regards

BR

Fabien Decret (Device Application Development MVP)
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/ | http://fabdecret.blogspot.com/



On Feb 12, 9:21=A0pm, nitinc3...@gmail.com wrote:
> Hi,
>
> =A0 =A0 =A0I need to capture the stylus input, when the stylus is pressed
> anywhere on the screen (outside the bounds of my application), much
> like the "write anywhere" option of the transcriber.
>
> =A0 =A0 =A0I was able to create a SIP (soft input panel) application, and =
I
> can capture the stylus input in that application window. =A0If I use the
> SetCapture() function, I can capture the whole stroke, only if it
> started within the bounds of the SIP, and later dragged outside the
> window bounds. =A0But how can I capture it when the stroke starts
> outside the bounds of my application ? =A0Any help will be appreciated.
>
> Thanks