|
| Re: Typo in Miscapi.prg in duflp |
 |
Fri, 08 Dec 2006 10:03:48 -080 |
Ivar B. Jessen wrote:
> The program Miscapi in the duflp has a typo in line 522, Col 33.
>
> // new code:
> if type( "ScreenToClient" ) # "FP"
> extern cLogical ScreenToCleint( cHandle, cPtr ) USERDLL32 // <---
line 522
> endif
> screenToClient( form.hwnd, pnt ) // relative to current form
>
> In line 522 the method 'ScreenToCleint' is misspelled. Correct spelling is
'ScreenToClient'.
>
> Also the library is given as USERDLL32, which is strange as
ScreenToClient() has already been
> externed in line 508 with reference to USER32.
I'll take a look. I don't know why the code was written the way it was
... I'm just the librarian.
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
|
| Post Reply
|
| Typo in Miscapi.prg in duflp |
 |
Fri, 08 Dec 2006 16:47:44 +010 |
The program Miscapi in the duflp has a typo in line 522, Col 33.
// new code:
if type( "ScreenToClient" ) # "FP"
extern cLogical ScreenToCleint( cHandle, cPtr ) USERDLL32 // <--- line
522
endif
screenToClient( form.hwnd, pnt ) // relative to current form
In line 522 the method 'ScreenToCleint' is misspelled. Correct spelling is
'ScreenToClient'.
Also the library is given as USERDLL32, which is strange as ScreenToClient() has
already been
externed in line 508 with reference to USER32.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|