[英]How to start CMD screen in a X,Y position in c++
I would like to know how can i set the coord of a c++ cmd screen, like to start in the windows 0,0 pixel. 我想知道如何设置c ++ cmd屏幕的坐标,例如从Windows 0,0像素开始。
probably is something with the system(""); 可能是system(“”); but i don't know
但我不知道
使用CreateProcess
API,并在dwX
, dwY
字段中传递带有坐标的STARTUPINFO
结构。
您还可以创建过程,然后使用SetWindowPos
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.