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

Returns the previous selected appointment.

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 backward iteration you need to obtain the pos by calling on GetLastSelectedAppointment() and pass the pos to subsequent calls on GetPrevSelectedAppointment.

posA reference to POSITION object used for iteration.