THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/01/2011 at 07:09, xxxxxxxx wrote:
Real dx, dy;
BaseContainer device;
win->MouseDragStart(button,mx,my,MOUSEDRAGFLAGS_DONTHIDEMOUSE|MOUSEDRAGFLAGS_NOMOVE);
while (win->MouseDrag(&dx,&dy,&device)==MOUSEDRAGRESULT_CONTINUE)
{
BaseContainer bc = BaseContainer();
win->BfGetInputEvent(BFM_INPUT_MOUSE,&bc);
if (msg.GetLong(BFM_INPUT_CHANNEL)==BFM_INPUT_MOUSEMIDDLE)
{
GePrint("The Wheel is Spinning");
}
}
This also works but not when I use BFM_INPUT_MOUSEMIDDLE