FindViewMode

Find the view mode that first to the set show flags (to be backward compatible, can be removed on day).