K
Ken Denton
I have a Windows media Player control on a Powerpoint slide.
I am trying to control it by mouse position without using
the regular controls. The VBA event handler for this is:
MouseMove(nButton, nShiftState, fX, fY)
The fX and fY are long integers that are supposed to specify
the x and y coordinate of the mouse pointer relative to the
upper left-hand corner of the control. The values produced
however are offsetted by a variable number, so that the actual
upper left corner of the control is at position -178,-204 instead
of 0,0, and the actual (0,0) coordinates are at a point in the
control that is 50% from the left side and 25% from the top side.
Is this a known bug in that control?
Ken
I am trying to control it by mouse position without using
the regular controls. The VBA event handler for this is:
MouseMove(nButton, nShiftState, fX, fY)
The fX and fY are long integers that are supposed to specify
the x and y coordinate of the mouse pointer relative to the
upper left-hand corner of the control. The values produced
however are offsetted by a variable number, so that the actual
upper left corner of the control is at position -178,-204 instead
of 0,0, and the actual (0,0) coordinates are at a point in the
control that is 50% from the left side and 25% from the top side.
Is this a known bug in that control?
Ken