CStatusBarCtrl *m_StaBar=new CStatusBarCtrl;
RECT m_Rect;
GetClientRect(&m_Rect);
m_Rect.top=m_Rect.bottom-20;
m_StaBar->Create(WS_BORDER|WS_VISIBLE|CBRS_BOTTOM,m_Rect,this,3);
m_StaBar->ShowWindow(SW_SHOW);
RECT m_Rect;
GetClientRect(&m_Rect);
m_Rect.top=m_Rect.bottom-20;
m_StaBar->Create(WS_BORDER|WS_VISIBLE|CBRS_BOTTOM,m_Rect,this,3);
m_StaBar->ShowWindow(SW_SHOW);