Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Viewable Screen Area

kwweber
初学者
442 次查看
I use Digital Visual Fortran 6.1 on a Windows 98 platform. My computer is set to a screen resolution of 1024 x 768 pixels. I have created several "single window" standard graphic applications that work very well on my computer. If I install and run these applications on a computer with a screen resolution of 800 x 600 pixels (many in my company use this setting) a portion of the window may not be visible or accessible on the screen. Is there any method to automaticaaly adjust to the user's resolution? Any input will be greatly appreciated.
0 项奖励
1 回复
Jugoslav_Dujic
重要分销商 II
442 次查看
Take a look at
- SystemParametersInfo (SPI_GETWORKAREA) (screen size without taskbar & other eventual appbars)
- GetSystemMetrics
* SM_CXMAXIMIZED - should be the same as SPI_GETWORKAREA
* SM_CXSCREEN - resolution of primary monitor
* SM_CXVIRTUALSCREEN - takes into account multiple monitors

Jugoslav
0 项奖励
回复