CRect rc;
 ::SystemParametersInfo(SPI_GETWORKAREA,0,&rc,0);
 CRect m_curRect;
 GetWindowRect(m_curRect);
 //设置位置
 m_curRect.left=rc.right-m_curRect.Width()-100;
 m_curRect.top=rc.top+40;//-m_curRect.Height();
 m_curRect.right=rc.right-100;
 m_curRect.bottom=rc.top+m_curRect.Height()+80;
 //移动右角
 MoveWindow(m_curRect);

相关文章:

  • 2021-03-30
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-07-18
  • 2021-07-25
  • 2022-12-23
猜你喜欢
  • 2021-12-17
  • 2022-01-16
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案