开发者

Set focus on console in Windows?

Is it possible to set focus on a console app in Windows? SetFocus 开发者_运维知识库looks promising, but it needs an HWND and I don't know if console apps even have one.


Use the GetConsoleWindow function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜