Re: Again on kb_event. It almost works
From: J French (erewhon_at_nowhere.com)
Date: 09/15/04
- Next message: J French: "Re: New to DLLs"
- Previous message: Anton Kolomyeytsev: "[ANN] StarBurn SDK 4.1.0 released."
- In reply to:(deleted message) L D Blake: "Re: Again on kb_event. It almost works"
- Next in thread: L D Blake: "Re: Again on kb_event. It almost works"
- Reply:(deleted message) L D Blake: "Re: Again on kb_event. It almost works"
- Reply: Stark: "Re: Again on kb_event. It almost works"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Sep 2004 07:49:14 +0000 (UTC)
On Tue, 14 Sep 2004 18:04:18 -0400, L D Blake <not@any.adr> wrote:
>On Tue, 14 Sep 2004 16:48:27 -0500, Rob Kennedy <me3@privacy.net> wrote:
>
>>I think the combo box does capture the mouse (or something like that) by
>>itself since it needs to know when the user clicks off the control. I
>>can see the same behavior in Microsoft-written programs. Open the
>>Windows "Run" dialog. Set focus to the combo box, and place the cursor
>>over the edit portion, so it is an I-beam. Press Alt+Down to drop down
>>the combo box. Move the mouse anywhere within the bounds of the dialog,
>>and it will still be an I-beam. Outside the dialog, the cursor's shape
>>appears is normally.
>
>Actually that would be the editor capturing the mouse.
>
>Comboboxes (which I use rather a lot) at winapi level don't generally cause
>the mouse cursor to vanish nor do edit windows, which I also use quite a bit.
>
>Frankly, this one's got me stumped.
I've just run up a little test in Delphi4, an Edit and a Combo
When 'D' is typed I set the Como's DroppedDown to True
It certainly captures the Mouse, but does not hide it.
However if the Cursor is an I Beam when the Combo is dropped (ie: it
was over the Edit control or the Edit part of the Combo) then the
Cursor gets 'stuck' as an I Beam
AFAIK a Combo's dropdown list is really a Parentless Listbox Window
created as WS_POPUP
It might be simpler for Stark to create his own alternative to the
Combo using a Listbox
- Next message: J French: "Re: New to DLLs"
- Previous message: Anton Kolomyeytsev: "[ANN] StarBurn SDK 4.1.0 released."
- In reply to:(deleted message) L D Blake: "Re: Again on kb_event. It almost works"
- Next in thread: L D Blake: "Re: Again on kb_event. It almost works"
- Reply:(deleted message) L D Blake: "Re: Again on kb_event. It almost works"
- Reply: Stark: "Re: Again on kb_event. It almost works"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|