void CPlayerToolBar::OnSize(UINT nType, int cx, int cy) { __super::OnSize(nType, cx, cy); ArrangeControls(); }
void CFileManagerDlg::OnSize(UINT nType, int cx, int cy) { CDialogEx::OnSize(nType, cx, cy); if (nType == SIZE_MAXIMIZED) m_bMaximized = TRUE; else// if (nType == SIZE_RESTORED) m_bMaximized = FALSE; ArrangeControls(); PrepareBackground(); Invalidate(); }
BOOL CPlayerToolBar::OnVolumeMute(UINT nID) { AfxGetAppSettings().fMute = !IsMuted(); ArrangeControls(); return FALSE; }
void CPlayerToolBar::OnInitialUpdate() { ArrangeControls(); }