I'm trying to use a slider control inside a view. The slider is displayed perfectly, but when I press left or right key it doesn´t change value.

I've gone through the example included in the SDK but I haven't seen anything there to make the slider capture the key events. Probably I'm missing something very simple but I don't get it.

I've also tried to capture the keys "by hand", and send to the slider a "iSlider->SetValue(newValue)" But it doen't display the change.

If anybody has any idea of how to get it to work, or another example...

Thank you very much