GetWindowRect

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.
 
S

Stephen Lebans

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.
 
S

se.ver

----- 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top