CODController::EndSymbol

voidCODController::EndSymbol(UINTnFlags, CPointptDev)

Called when the user finishes drawing the new symbol.

Defined in: OdController.cpp

Return Value

void

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.

ptDev

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

Comments

This function is called when the user has finished drawing the tracking rectangle for a symbol being added to the canvas. The symbol being inserted is pointed to by the m_pInsert member. The symbol is positioned and sized to match the tracking rectangle drawn by the user.