CODController::RolloverEdges

BOOL CODController::RolloverEdges(UINT nFlags, CPoint ptLog)

Determines if the mouse cursor has moved over the edges of a component and changes the appearance of the cursor accordingly.

Defined in: OdController.cpp

Return Value

TRUE if the cursor is over the edges of a component.

Parameters

nFlags

Indicates whether various virtual keys are down. This parameter can be any combination of the following values:

MK_CONTROL

Set if the CTRL key is down.

MK_SHIFT

Set if the SHIFT key is down.

MK_LBUTTON

Set if the left mouse button is down.

MK_MBUTTON

Set if the middle mouse button is down.

MK_RBUTTON

Set if the right mouse button is down.

ptLog

Specifies the x- and y-coordinate of the cursor in logical coordinates.

Comments

This is used in vertex editing mode. If the cursor is over the edges of a component, the user has the option of inserting a vertex.