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

Array Visualizer

fkroeder
Начинающий
2 850Просмотр.
0 баллов
7 Ответы
Intel_C_Intel
Сотрудник
2 850Просмотр.
The Compaq Array Visualizer doesn't offet this functionality.

The Array Viewer interface in the Intel Array Visualizer has properties for the window size, but not the position. I'll look into adding properties for the position in a future release.

For now one work-around would be to use Win32 to get the HWND of the Array Viewer window (e.g. FindWindow) and SetWindowPlacement to set the window size and position.

John
fkroeder
Начинающий
2 850Просмотр.
Thanks for the answer. I have try it, but without success. Therefore I must my problem make more precise : In my Fortran-Program I calculate several result-curves and display them for better understanding with help of the AV on the screen. Problem is, that AV-Windows are scattered over the screen and covered the I/O-Window of the main-program. Therefore it would be helpful, that the Fortran-program tells the AV-viewer, where to open the window(s). Because I'm not so fit in programming with Win32 routines, you could make my problem easier,if you give me an example, how to solve my problem. Would you be so kind ?
Steven_L_Intel1
Сотрудник
2 850Просмотр.
I'm far from being an expert in this area, but couldn't you put the AV control in a dialog box that you could then place wherever you wanted?

Steve
gregscvf
Начинающий
2 850Просмотр.
John,
Could you elaborate more on the FindWindow/SetWindowPlacement commands, perhaps with an example. I've been trying with no success to maximize AV using SetWindowPlacement with the "hv" argument retured from FavStartViewer.
Also, I don't fully understand the FindWindow arguments.
Greg
Intel_C_Intel
Сотрудник
2 850Просмотр.
Take a look the attached code. I've added a SetAvWindow routine to the Simple.f90 sample. The routine goes through all the top-level windows on the system looking for a window that contains the title bar string: "Compaq Array Viewer". You can also pass a second matching string to the routine to distinguish between multiple instances of the viewer.

How does this work for everyone?

John



gregscvf
Начинающий
2 850Просмотр.
It seems a little inefficient, searching through all opened windows, but it works.
Thanks
Greg
fkroeder
Начинающий
2 850Просмотр.
In the meantime I've tried it too. The modul does exactly that, what I've searched.
1000... thanks
FK
Ответить