linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-c-programming@vger.kernel.org
Subject: Re: Question about X
Date: Wed, 24 Nov 2004 13:12:39 +0100	[thread overview]
Message-ID: <20041124121239.GR2067@lug-owl.de> (raw)
In-Reply-To: <20041124143656.264fc1ca.akaanoken@softminecorp.com>

[-- 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 --]

      reply	other threads:[~2004-11-24 12:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-24 11:36 Question about X Alphex Kaanoken
2004-11-24 12:12 ` Jan-Benedict Glaw [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041124121239.GR2067@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).