GetWindowRect

  • Thread starter Thread starter Hills
  • Start date Start date
H

Hills

GetWindowRect takes an Integer as Hwnd. But in Access lib,
hwnd property of Form and Report are Long. Why they are not
match ? How to call GetWindowRect for forms.

Thanks.
 
The pre-Win95 function declaration specified an Integer(16Bit) but the
params are all 32bit(long) for Win95 or higher. You are probably using
an outdated Win32API.txt file.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
----- Stephen Lebans wrote: ----

The pre-Win95 function declaration specified an Integer(16Bit) but th
params are all 32bit(long) for Win95 or higher. You are probably usin
an outdated Win32API.txt file

-

HT
Stephen Leban
http://www.lebans.co
Access Code, Tips and Trick
Please respond only to the newsgroups so everyone can benefit
 
Back
Top