Programmatic control of user interaction is never simple. I think the
Shift state should be sent also during KEY message.
Best,
Scuri
On Tue, Mar 15, 2016 at 5:48 AM, Karagy <[email protected]> wrote:
>
> Hi, 云履 .
>
> You example with iup.SetGlobal('KEY', iup.K_sRIGHT) - worked ok.
>
> With sequence:
>
> iup.SetGlobal('KEYPRESS', iup.K_LSHIFT)
> iup.SetGlobal('KEY', iup.K_RIGHT)
> iup.SetGlobal('KEYRELEASE', iup.K_LSHIFT)
>
> - it worked ok for me in you example (WinXP 32, IUP 3.17, via lua5.1).
> I.e. When pressed 'F1' - it select per one character to right direction.
> What wrong?
>
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users