Re: Border focus when switching between apps
besh_at_cix.compulink.co.uk
Date: 04/21/04
- Next message: Rudy Velthuis: "Re: D5 Constant expression expected"
- Previous message: Dodgy: "Re: TPopupMenu with CheckBoxes - visibility problem"
- In reply to: GB Blanchard: "Border focus when switching between apps"
- Next in thread: GB Blanchard: "Re: Border focus when switching between apps"
- Reply: GB Blanchard: "Re: Border focus when switching between apps"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Apr 2004 17:11:16 +0000 (UTC)
In article <9d41bf117cc323b9d62560603e7a58a6@news.teranews.com>,
1122@1122noexiste.net (GB Blanchard) wrote:
> The user clicks on the current app (NotePad, for example), and
> then clicks on a button in my app and my app inserts a char in
> NotePad.
>
> Visually, NotePad has the 'full' border colours at the beginning,
> then loses them to my app while the click takes place, and then
> gets them back after the char is inserted. That is Windows default
> behaviour.
>
Brad I think the only way to avoid focus switching is to use keyboard
hooks. Can you fire up an 'equivalent' action to clicking a button in your
app? Depending on what your program should send, you can define a key/key
combination that your program recognises to send the relevant character/s.
By installing a keyboard hook, you can simply send anything [within
reason] to the active Window. There will be no focus switching.
Neil Beshoori
NRB Systems UK
- Next message: Rudy Velthuis: "Re: D5 Constant expression expected"
- Previous message: Dodgy: "Re: TPopupMenu with CheckBoxes - visibility problem"
- In reply to: GB Blanchard: "Border focus when switching between apps"
- Next in thread: GB Blanchard: "Re: Border focus when switching between apps"
- Reply: GB Blanchard: "Re: Border focus when switching between apps"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|