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

What to include for Windows Functions

chip_ray1
Beginner
678 Views

I'm using Intel Fortran Compiler 9.1 and Visual Studio 2005.

I want to make a child window inside an MDIClient window to hold some datato display to the user, so I tried:

integer*4 function MDIWndProc ( hwnd, message, wParam, lParam )
...

type(RECT) windowSize
...

select case (message)
...
case (WM_SIZE)
...
lret = GetClientRect(hwnd, LOC (windowSize))
ret = MoveWindow(hTextWnd1,0,0,windowSize%right,windowSize%bottom,.TRUE.)

But I got an error that the type RECT wasn't recognized. I have:

use ifwinty
use user32
use kernel32
use ifwbase
use MD3Globals
use dfwin

How can I find what file I need to use so that I can use functions and types that I find in the MSDN win32 library?

Thanks,

Chip

0 Kudos
1 Reply
g_f_thomas
Beginner
678 Views

Replace RECT by T_RECT.

Gerry

0 Kudos
Reply