For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Why "MoveTo" doesn't work?

angel's picture

Hi body,
In the HLR sample, there is a view in the SelectionDialog, I try to add MoveTo method into OnMouseMove function. The code as following,
void CSelectionDialog::OnMouseMove(UINT nFlags, CPoint point)
else //if ( nFlags & MK_RBUTTON)
// ============================ NO BUTTON =======================
{ // No buttons
myXmax = point.x; myYmax = point.y;


And I use GetShape button to display a object in this view. When I move the mouse to close the object, the color of the object doesn't change.


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.