TRect rcWorkArea;
SystemParametersInfo(SPI_GETWORKAREA,0,&rcWorkArea,0) ; //获取工作区的大小
int width = rcWorkArea.Width() - 180;
int height = rcWorkArea.Height()-150;
SetWindowPos(this->Handle,HWND_TOP,width,height,180,150,NULL);
// AnimateWindow(this->Handle,5000,AW_BLEND|AW_ACTIVATE|AW_VER_NEGATIVE);
::AnimateWindow(this->Handle,800,AW_VER_POSITIVE+SW_SHOWNOACTIVATE);
C++ 动态窗口的弹出的制作
最新推荐文章于 2024-07-16 14:48:50 发布