简体   繁体   English

如何从C ++并排显示Windows?

[英]How to Show windows side by side from c++?

everyone the question is how to use options Show windows side by side by side from c++? 每个人的问题是如何使用选项与c ++并排显示Windows? I use windows 7 professional, 64 bit, is there some function that can be used, to switch widow? 我使用Windows 7 Professional(64位),是否可以使用某些功能来切换寡妇?

You have to do this yourself. 您必须自己做。 Work out the coordinates of the windows based on the size of the work area. 根据工作区域的大小计算窗口的坐标。 Divide the width by 2 and do the math. 将宽度除以2并进行数学运算。 There are no in-built shortcuts. 没有内置的快捷方式。

I don't understand your other question about switching window. 我不了解您关于切换窗口的其他问题。

如果您拥有该窗口,请使用著名的SetWindowPos函数: http : //msdn.microsoft.com/zh-cn/library/ms633545%28v=vs.85%29.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM