BCGSuite for MFC
const CBCGPAppointment* CBCGPPlannerManagerCtrl::GetNextSelectedAppointment ( POSITION &  pos) const

Returns the next selected appointment.

Returns
A pointer to an appointment located at specified by pos position.

Use this method to iterate the internal list of selected appointments. To begin the forward iteration you need to obtain the pos by calling on GetFirstSelectedAppointment() and pass the pos to subsequent calls on GetNextSelectedAppointment.

Parameters
posA reference to POSITION object used for iteration.