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

Project frames in Standard Graphics apps

dboggs
New Contributor I
758 Views
I'm having some trouble understanding the project frame in a Standard Graphics appliation. According to documentation, this would be done using SETWSIZEQQ, which specifically applies to Standard Graphics. But no matter what size I define the window, it always runs full screen. Other places in the documentation indicate this is normal for Standard Graphics. So what good does the SETWSIZEQQ do?

The program can be toggled from full screen to a window using alt-tab, just like a DOS program running i a command window. Is there any way to control this programmatically?

I want to write an application that begins running in a single, simple window (no menu or status bar) of a certain size. I want to use text positioning and color features, so a Console application won't work. I had hoped to set the text window using SETTEXTWINDOW, and have the project frame shrink to fit this windo, without scrollbars. I can't find any way to do this, i'm afraid it's not possible.

Any advice?
0 Kudos
2 Replies
anthonyrichards
New Contributor III
758 Views
According to my Compaq Visual Fortran Help, quote:

Fortran Standard Graphics Applications

A Fortran standard graphics application has a single maximized application window covering the entire screen area, whose appearance resembles a MS-DOS screen without scrolls bars or menus. The Esc key can be used to exit a program that does otherwise terminate. When the Esc key is pressed, the frame window appears with a border, title bar, scroll bars, and a menu item in the upper-left corner that allows you to close the application.

Programmable menus and multiple child windows cannot be created in this mode. Unquote

So your window is behaving exactly as described for a 'standard graphics application' . As we say in the UK, 'it does exactly what it says on the tin'.

What you probably want is to select a QuickWin application in which case, choose the QuickWin button when given the choice between Standard and QuickWin when creating your project.

0 Kudos
dboggs
New Contributor I
758 Views
Anthony, thanks for the quick response but unfortunately you have only reiterated what I already knew.

A QuickWin project does not work--at least as far as I understand it--because the single child window would appear within a project frame. My application window would appear surrounded by two sets of borders, two title bars, a menu, and a status bar. I want my app to appear within a simple, bare-bones window with one set of borders.

A QuickWin project would work IF there is some way to eliminate the frame's title bar, menu, status bar, and borders (!).
0 Kudos
Reply