AutoPan Example for C++ 5.0 and later
m_LEADRasterView1.
SetAutoPan
(TRUE);