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

  ArrangeControls();

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