Moving within the List of Names
Task :
The previous program allowed the user to enter a list of names. This should now be adapted so that the user may move backwards and forwards through this list. Back and Forward buttons should be added to the FormView. The currently selected name should be displayed in a different colour. Again the program may keep the title names.
Instructions :
- Attach back and forward buttons (and their handlers) to the FormView.
- Reference these to MoveCurrentBack() and MoveCurrentForward() functions in the Document. Hints should be used in the UpdateAllViews() function.
- Edit the OnDraw() function within the standard view to change the colour of the selected item.
Help :
The MSDN library again is the recommended source of help.
Click here for a worked example
Click here for the source code
Click here to return to menu