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

Maximize QuickWin Windows

onkelhotte
New Contributor II
1,071 Views
Hi there,
when I create and display a window with windowconfig, I have scrollbars at the right and the bottom of the window. I have to click the maximize symbol, and then the scrollbars disappear and I see the "whole" window. I think thats because the window is resizeable. But it should be displayed maximized when I start the program and the user should not be allowed to resize it at all.
For the Mainwindow (type(qwinfo)) you can initialize it with winfo%type = qwin$max, but this function doesnt exist for a windowconfig.
I posted the code with this mail, thanks in advance,
OnkelHotte

use dflib
use dfwin
logical l
type(windowconfig) wc
l = setwindowconfig(wc)
wc%title = 'Ausgabefenster'C
wc%numxpixels = 640
wc%numypixels = 446
l = setwindowconfig(wc)
print *,'Hello World!'

Message Edited by OnkelHotte on 04-20-2005 06:39 AM

Message Edited by OnkelHotte on 04-20-2005 06:40 AM

0 Kudos
3 Replies
kyry
Beginner
1,071 Views
! Maximize the CHILD window
iret = getwsizeqq(4,QWIN$SIZECURR, qw)
qw.type = QWIN$MAX
iret = setwsizeqq(4, qw)

add this to the list of variables:

integer iret
type (qwinfo) qw

kyry
0 Kudos
onkelhotte
New Contributor II
1,071 Views
Hm,
I think that you did not understand my problem. I attached a picture so you can see, what I mean...
I want the "Outputwindow" without scrollbars from the start...
Thanks in advance,
OnkelHotte
0 Kudos
onkelhotte
New Contributor II
1,071 Views
I solved the problem by myself. When you insert l = clickmenuqq(qwin$cascade) the scrollbars disappear...
0 Kudos
Reply