Click Example for Visual C++ 5.0

void CConViewSamplesView::OnClickLeadrastercontainerviewer1 ()
{
 CString S; 
   CWnd *  ActiveWindow = NULL; 
   if(this->GetActiveWindow())
   {
      this->GetActiveWindow()->SetWindowText(S + TEXT(" Mouse was clicked "));
   }

}