Example #1
0
void CPlayerToolBar::OnSize(UINT nType, int cx, int cy)
{
  __super::OnSize(nType, cx, cy);

  ArrangeControls();

}
Example #2
0
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();
}
Example #3
0
BOOL CPlayerToolBar::OnVolumeMute(UINT nID)
{
  AfxGetAppSettings().fMute = !IsMuted();
  ArrangeControls();
  return FALSE;
}
Example #4
0
void CPlayerToolBar::OnInitialUpdate()
{
  ArrangeControls();
}