SECEditCtrlWrapper_T::OnCmdMsg

template <class wnd_t, class vp_t>
intSECEditCtrlWrapper_T<wnd_t, vp_t>::OnCmdMsg(UINTnID, intnCode, void*pExtra, AFX_CMDHANDLERINFO*pHandlerInfo)

Forwards commands to the embedded viewport.

Defined in: SECEditScrollBarWrapper_T.h

Return Value

Nonzero if the message is handled; otherwise 0.

Parameters

nID

Contains the command ID.

nCode

Identifies the command notification code.

pExtra

Used according to the value of nCode.

pHandlerInfo

If not NULL, OnCmdMsg fills in the pTarget and pmf members of the pHandlerInfo structure instead of dispatching the command. Typically, this parameter should be NULL.

Comments

Handling by the viewport can be overridden by adding default handling inside the window class.

See Also

SECEditCtrlWrapper_T

Class Template Arguments

wnd_t

A CWnd-derived class.

vp_t

A SECEditViewport-derived class.