Using Intel® Visual Fortran to Create and Build Windows*-Based Applications

ID 757211
Date 7/23/2021
Public
Document Table of Contents

Checking the Current Graphics Mode

Call GETWINDOWCONFIG to get the child window settings.

GETWINDOWCONFIG uses the derived type, windowconfig, as a parameter:

 TYPE windowconfig
  INTEGER(2) numxpixels      ! Number of pixels on x-axis
  INTEGER(2) numypixels      ! Number of pixels on y-axis
  INTEGER(2) numtextcols     ! Number of text columns available
  INTEGER(2) numtextrows     ! Number of text rows available
  INTEGER(2) numcolors       ! Number of color indexes
  INTEGER(4) fontsize        ! Size of default font
  CHARACTER(80) title        ! window title
  INTEGER(2) bitsperpixel    ! Number of bits per pixel
 END TYPE windowconfig

By default, a QuickWin child window is a scrollable text window 640x480 pixels, has 30 lines and 80 columns, and a font size of 8x16. Also by default, a Standard Graphics window is Full Screen. You can change the values of window properties at any time with SETWINDOWCONFIG, and retrieve the current values at any time with GETWINDOWCONFIG.