Re: Again on kb_event. It almost works
From: Stark (franco.jommi_at_tin.it)
Date: 09/15/04
- Next message: Rob Kennedy: "Re: Again on kb_event. It almost works"
- Previous message: J French: "Re: New to DLLs"
- In reply to: J French: "Re: Again on kb_event. It almost works"
- Next in thread: J French: "Re: Again on kb_event. It almost works"
- Reply: J French: "Re: Again on kb_event. It almost works"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Sep 2004 15:31:50 GMT
Yes, this is a good idea, so I stop loosing your and my time aorund this
question. Though I don't like to give up normally ..
"J French" <erewhon@nowhere.com> ha scritto nel messaggio
news:4147eeb2.248474473@news.btclick.com...
> 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: Rob Kennedy: "Re: Again on kb_event. It almost works"
- Previous message: J French: "Re: New to DLLs"
- In reply to: J French: "Re: Again on kb_event. It almost works"
- Next in thread: J French: "Re: Again on kb_event. It almost works"
- Reply: J French: "Re: Again on kb_event. It almost works"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|