Zoom in and out is done by right mouse and moving left and right. How could I change this to up and down movement?
Thanx your all help.
Drain
Andras Sat, 06/26/2004 - 01:47
Try this in OCC_3dView::OnMouseMove(UINT nFlags, CPoint point)
...
switch (myCurrentMode)
{
case CurAction3d_DynamicZooming :
myView->Zoom(point.y, 0, myYmax, 0);
// save the current mouse coordinate in min \n";
myXmax = point.x;
myYmax = point.y;
break;
Sat, 06/26/2004 - 01:47
Try this in OCC_3dView::OnMouseMove(UINT nFlags, CPoint point)
...
switch (myCurrentMode)
{
case CurAction3d_DynamicZooming :
myView->Zoom(point.y, 0, myYmax, 0);
// save the current mouse coordinate in min \n";
myXmax = point.x;
myYmax = point.y;
break;
Andras
Mon, 06/28/2004 - 12:27
That´s what I´m looking for. And it works. Fine.
Thanks a lot.
Drain