MouseWheel Example for Visual C++ 5.0

void CConViewSamplesView::OnMouseWheelLeadrastercontainerviewer1 (short nDelta, short Shift, float x, float y, long lActionID, long lCount) 
{
 CString S; 
   if(this->GetActiveWindow())
   {
      this->GetActiveWindow()->SetWindowText(S + TEXT(" Mouse Wheel "));
   }
}