请直接查找CWnd类!!!

CWnd* cWnd;
cWnd= cWnd->FindWindowW(L"kwmusicmaindlg",NULL);
CRect  cRect;
cWnd->GetWindowRect((LPRECT)(&cRect));//得到窗口的矩形
cWnd->MoveWindow(&(CRect(30,30,300,400)),1);//移动
cWnd->ShowWindow(SW_SHOWMAXIMIZED);//。。。SW
cWnd->UpdateWindow();
cWnd->CloseWindow();//关闭
cWnd->EnableWindow(1);//使能用

 

相关文章:

  • 2022-12-23
  • 2021-12-15
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
猜你喜欢
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
相关资源
相似解决方案