Appearance Example for C++ 4.0 and later

This example toggles the Appearance property.

void CTutorDlg::OnButton1() 
{
   if (m_Lead1.GetAppearance() == APPEARANCE_FLAT)
      m_Lead1.SetAppearance(APPEARANCE_THREED);
   else
      m_Lead1.SetAppearance(APPEARANCE_FLAT);
}