PDA

View Full Version : Strange cursor behaviour


bxf
03-20-2007, 07:21 PM
Using 2.9.3.1227

Because I find the video slider bar too narrow, I added the following lines to the bottom of the WMP11(eng) skin.ini file:

[Track2]
type=Slider
parent=BottomPanel
Thumb=Null.bmp
Slider1=Null.bmp
Slider2=Null.bmp
width=-12
left=12
top=8
height=4
margin1=4
margin2=3
Command=SliderTrack
cursor=Point2.cur

I also changed the [Track] section to say "cursor=Point2.cur".

The above changes produce the desired effect. The problem I have, though, is that when the mouse is placed over the NEXT button, the pointer is showing as Point2.cur, instead of Point.cur as specified in the Skin.ini file. Strangely, if I change the [Next] section to say "Command=PlayPrevFileCmd" (instead of "PlayNextFileCmd"), the correct cursor is displayed. (of course the command is incorrect, though).

I don't want to make this too complicated, so I'd be happy to fix the above problem. However, just as a point of information, and in case it needs some corrective action, I'll add the following, :

As a separate change, I created buttons with "Command=PlayBackward1Cmd" and "Command=PlayForward1Cmd", and these work correctly. However, if I also add the following section to the bottom of the skin.ini file:

[Track3]
type=Slider
Thumb=Null.bmp
Slider1=Null.bmp
Slider2=Null.bmp
width=-12
left=12
top=-4
height=4
margin1=4
margin2=3
Command=SliderTrack
cursor=Point2.cur

"Everything" works as expected, except that the same incorrect cursor problem occurs with the "PlayBackward1Cmd", which also corrects itself if the command is changed to "PlayForward1Cmd".

Any suggestions would be appreciated. Thanks.