* Question about X
@ 2004-11-24 11:36 Alphex Kaanoken
2004-11-24 12:12 ` Jan-Benedict Glaw
0 siblings, 1 reply; 2+ messages in thread
From: Alphex Kaanoken @ 2004-11-24 11:36 UTC (permalink / raw)
Cc: linux-c-programming
Hi all,
I'm want to get the last inputed string in focused window - and modify it if it's contain
errors.
I'm try to do it with sending key events to focused window (like Shift+left|right arrows), and
see it and modify with this method too, but it doesn't work ;-( or work very buggy =(
How I can do it with other method?
Thanx
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question about X
2004-11-24 11:36 Question about X Alphex Kaanoken
@ 2004-11-24 12:12 ` Jan-Benedict Glaw
0 siblings, 0 replies; 2+ messages in thread
From: Jan-Benedict Glaw @ 2004-11-24 12:12 UTC (permalink / raw)
To: linux-c-programming
[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]
On Wed, 2004-11-24 14:36:56 +0300, Alphex Kaanoken <akaanoken@softminecorp.com>
wrote in message <20041124143656.264fc1ca.akaanoken@softminecorp.com>:
> Hi all,
> I'm want to get the last inputed string in focused window - and
> modify it if it's contain errors.
> I'm try to do it with sending key events to focused window (like
> Shift+left|right arrows), and see it and modify with this method
> too, but it doesn't work ;-( or work very buggy =(
Source code for that?
> How I can do it with other method?
Well, I'd modify the application to check the values upon pressing the
"OK" button. If the input format doesn't match your expectation, just
mark all the field's contents and position the cursor somewhere in this
input field.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-24 12:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-24 11:36 Question about X Alphex Kaanoken
2004-11-24 12:12 ` Jan-Benedict Glaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).