void CBalloonHelp::OnShowWindow(BOOL bShow, UINT) { if ( NULL != m_fnAnimateWindow ) { if ( bShow && !(m_unOptions&unDISABLE_FADEIN) ) m_fnAnimateWindow( m_hWnd, 200, AW_BLEND); else if ( !bShow && !(m_unOptions&unDISABLE_FADEOUT) ) m_fnAnimateWindow( m_hWnd, 200, AW_HIDE | AW_BLEND ); } }
void CSplashScreenEx::Hide() { if ((m_dwStyle & CSS_FADEOUT) && (m_fnAnimateWindow!=NULL)) m_fnAnimateWindow(m_hWnd,200,AW_HIDE | AW_BLEND); else ShowWindow(SW_HIDE); DestroyWindow(); }
void CSplashScreenEx::Show() { SetWindowPos(NULL,m_nxPos,m_nyPos,m_nBitmapWidth,m_nBitmapHeight,SWP_NOOWNERZORDER | SWP_NOZORDER | SWP_NOACTIVATE); if ((m_dwStyle & CSS_FADEIN) && (m_fnAnimateWindow!=NULL)) { m_fnAnimateWindow(m_hWnd,400,AW_BLEND); } else ShowWindow(SW_SHOW); }