after invoking the function below windows adjust the appliction window's position or size automatically. But this is not my desire. SetWindowPos(NULL,-8,-128,1034,2288,SWP_NOZORDER);
If the information specified in WINDOWPLACEMENT would result in a window that is completely off the screen, the system will automatically adjust the coordinates so that ~~~~~~~~ the window is visible, taking into account changes in screen resolution and multiple monitor configuration. 我想用SetWindowPlacement或SetWindowPos来实现子窗口全屏显示,就像VC++里的VIEW->FULL SCREEN 的效果 。可是调用这两个函数时如果窗口大小超出屏幕大小的1/8时WINDOW会对它进程调整,这使得我的程序达不到遇期的效果。
If the information specified in WINDOWPLACEMENT would result in a window that is completely off the screen, the system will automatically adjust the coordinates so that
~~~~~~~~
the window is visible, taking into account changes in screen resolution and multiple monitor configuration.
我想用SetWindowPlacement或SetWindowPos来实现子窗口全屏显示,就像VC++里的VIEW->FULL SCREEN 的效果 。可是调用这两个函数时如果窗口大小超出屏幕大小的1/8时WINDOW会对它进程调整,这使得我的程序达不到遇期的效果。