I'm trying to add an DrawMark event handler to my code
I was guessing the ON_EVENT macro should look something like
ON_EVENT(CMapDiagramView, IDC_FLOWCHARTX, 89, OnDrawMark, VTS_I4 VTS_I4 VTS_I4 VTS_DISPATCH VTS_DISPATCH VTS_I4 )
with as corresponding method
afx_msg void OnDrawMark( LONG *hdc,
LONG docX, LONG docY,
LPDISPATCH node, LPDISPATCH aPattern,
LONG anchorIndex );
sadly this doesn't work, and when I inspect the event in the debugger I see 6 parameters
VTS_I4 (0) VTS_DISPATCH (??) VTS_DISPATCH (??) VTS_I4 (106) VTS_I4 (271) ??
which would suggest the sequence is
hdc, node, aPattern, x, y, ?
Is there maybe a mistake in the documentation, or am I making a mistake ?
with kind regards,
Remko