Hello,

VFP 9 WIN2K

I need to capture the mouse events for a specific control and when done with
the control return the mouse events back to normal.

Does anyone know how to do this in VFP

Thanks in advance,
-CraigB

Re: How do I capture mouse events to a control - MouseHook by Dan

Dan
Fri Feb 11 19:03:09 CST 2005

Huh?

Usually, you'd put code in Click, DoubleClick, MouseDown, MouseUp,
MouseMove, MouseEnter, MouseLeave, MouseWheel, or MiddleClick.

Dan

CraigB wrote:
> Hello,
>
> VFP 9 WIN2K
>
> I need to capture the mouse events for a specific control and when
> done with the control return the mouse events back to normal.
>
> Does anyone know how to do this in VFP
>
> Thanks in advance,
> -CraigB



Re: How do I capture mouse events to a control - MouseHook by CraigB

CraigB
Fri Feb 11 22:38:04 CST 2005

Hey Dan,

Ok, more specific ...

I need to know what ListItem is highlighted in a combobox's dropdown list
while the user is mousing over it.

The events you mention do not work ... because a MouseHook is what is taking
place there, so it's another VFP black box.

Thanks anyway!

- CraigB

"Dan Freeman" <spam@microsoft.com> wrote in message
news:%239WKf6JEFHA.1188@tk2msftngp13.phx.gbl...
> Huh?
>
> Usually, you'd put code in Click, DoubleClick, MouseDown, MouseUp,
> MouseMove, MouseEnter, MouseLeave, MouseWheel, or MiddleClick.
>
> Dan
>
> CraigB wrote:
> > Hello,
> >
> > VFP 9 WIN2K
> >
> > I need to capture the mouse events for a specific control and when
> > done with the control return the mouse events back to normal.
> >
> > Does anyone know how to do this in VFP
> >
> > Thanks in advance,
> > -CraigB
>
>



Re: How do I capture mouse events to a control - MouseHook by Jan

Jan
Sat Feb 12 04:48:07 CST 2005

Craig,

What about ListItemID?

HTH
Jan

"CraigB" <nomail@nomail.com> wrote in message
news:ua2kLtLEFHA.560@TK2MSFTNGP15.phx.gbl...
> Hey Dan,
>
> Ok, more specific ...
>
> I need to know what ListItem is highlighted in a combobox's dropdown list
> while the user is mousing over it.
>
> The events you mention do not work ... because a MouseHook is what is
> taking
> place there, so it's another VFP black box.
>
> Thanks anyway!
>
> - CraigB
>
> "Dan Freeman" <spam@microsoft.com> wrote in message
> news:%239WKf6JEFHA.1188@tk2msftngp13.phx.gbl...
>> Huh?
>>
>> Usually, you'd put code in Click, DoubleClick, MouseDown, MouseUp,
>> MouseMove, MouseEnter, MouseLeave, MouseWheel, or MiddleClick.
>>
>> Dan
>>
>> CraigB wrote:
>> > Hello,
>> >
>> > VFP 9 WIN2K
>> >
>> > I need to capture the mouse events for a specific control and when
>> > done with the control return the mouse events back to normal.
>> >
>> > Does anyone know how to do this in VFP
>> >
>> > Thanks in advance,
>> > -CraigB
>>
>>
>
>



Re: How do I capture mouse events to a control - MouseHook by CraigB

CraigB
Sat Feb 12 07:48:44 CST 2005

Hi Jan,

Unfortunately, all mouse events are not available to a combobox's dropdown
list.
This is the reason for my inquiry!

Thanks anyway,
-CraigB

"Jan" <nomail@nowhere.com> wrote in message
news:%23jl56APEFHA.3648@TK2MSFTNGP10.phx.gbl...
> Craig,
>
> What about ListItemID?
>
> HTH
> Jan
>
> "CraigB" <nomail@nomail.com> wrote in message
> news:ua2kLtLEFHA.560@TK2MSFTNGP15.phx.gbl...
> > Hey Dan,
> >
> > Ok, more specific ...
> >
> > I need to know what ListItem is highlighted in a combobox's dropdown
list
> > while the user is mousing over it.
> >
> > The events you mention do not work ... because a MouseHook is what is
> > taking
> > place there, so it's another VFP black box.
> >
> > Thanks anyway!
> >
> > - CraigB
> >
> > "Dan Freeman" <spam@microsoft.com> wrote in message
> > news:%239WKf6JEFHA.1188@tk2msftngp13.phx.gbl...
> >> Huh?
> >>
> >> Usually, you'd put code in Click, DoubleClick, MouseDown, MouseUp,
> >> MouseMove, MouseEnter, MouseLeave, MouseWheel, or MiddleClick.
> >>
> >> Dan
> >>
> >> CraigB wrote:
> >> > Hello,
> >> >
> >> > VFP 9 WIN2K
> >> >
> >> > I need to capture the mouse events for a specific control and when
> >> > done with the control return the mouse events back to normal.
> >> >
> >> > Does anyone know how to do this in VFP
> >> >
> >> > Thanks in advance,
> >> > -CraigB
> >>
> >>
> >
> >
>
>