Greg Ewing wrote:
> I'm having trouble getting notification messages from
> a Slider control.
>
> According to MS, a Slider is supposed to send WM_HSCROLL
> messages to its parent window when the user changes it,
> but this isn't happening.
>
> I can get WM_HSCROLL messages from a normal scroll bar
Mark Hammond wrote:
Works for me. In sliderdemo.py, directly after the creation of the
control I added:
self.HookMessage(self.OnSliderMove, win32con.WM_HSCROLL)
Okay, I've modified that demo similarly and it works
for me too. I can investigate further from there,
thanks.
--
Greg
On 17/03/2009 12:01 PM, Greg Ewing wrote:
I'm having trouble getting notification messages from
a Slider control.
According to MS, a Slider is supposed to send WM_HSCROLL
messages to its parent window when the user changes it,
but this isn't happening.
Works for me. In sliderdemo.py, directly
I'm having trouble getting notification messages from
a Slider control.
According to MS, a Slider is supposed to send WM_HSCROLL
messages to its parent window when the user changes it,
but this isn't happening.
I can get WM_HSCROLL messages from a normal scroll bar,
but either the Slider isn't s