SECDynGridInsertConstraints::SetInsertPosition
voidSECDynGridInsertConstraints::SetInsertPosition(UINTnPos, BOOLbAfter, BOOLbPrimaryCnstr)
Alternate to m_pNodeRelative relative insertion specification
Defined in: DynGrid.cpp
Return Value
void
Parameters
nPos
Positional index to use.
bAfter
If true, insert after the specified index, else before.
bPrimaryCnstr
If true, numeric index will be the primary constraint used to resolve insertion position. If false, m_pNodeRelative is the primary constraint (the default), and the positional index is only used if m_pNodeRelative can not be located.
Comments
Alternate to usage of m_pNodeRelative variable, this function allows you to specify a numeric positional context, rather than a reference node. If nPos is out of the available range, it is automatically adjusted to the last element.
See Also