本文介绍了如何保留当前会话的窗口坐标 - VC ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如果用户将窗口拖到某个位置并将其关闭,我想保留子窗口坐标,以便在重新启动时它应该在之前打开坐标。



但是第一次启动它应该在父窗口的中心打开。



我可以让子窗口隐藏而不是关闭,以便它在重新启动时在同一位置打开

Hi,

I want to retain child window coordinates if user drags the window to some location and closes it, so that on relaunch it should open in the previous coordinates.

But for the first time launch it should open up in the center of parent window.

Can I make child window to hide instead of closing so that it will open up in the same location on relaunch

推荐答案


这篇关于如何保留当前会话的窗口坐标 - VC ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 23:07