The cursor sample program displays the predefined cursors and creates a custom bitmap cursor.