Re: [python-win32] PyCSlider notification messages

2009-03-17 Thread Tim Roberts
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

Re: [python-win32] PyCSlider notification messages

2009-03-17 Thread Greg Ewing
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

Re: [python-win32] PyCSlider notification messages

2009-03-16 Thread Mark Hammond
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

[python-win32] PyCSlider notification messages

2009-03-16 Thread Greg Ewing
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