1. getWindowRect Function
- Posted by Bob Houle <blueb at shaw.ca> Jan 13, 2002
- 408 views
Hi, I'm trying to use the getWindowRect function in Win32Lib. I know that the returning result is a sequence, but when I try to display this result, all I see are ascii characters beyond 128 (e.g.: ¤Ú) example: sequence result result = getWindowRect(win) wPuts( win, result[2]) Thanks, --Bob
2. Re: getWindowRect Function
- Posted by Irv Mullins <irvm at ellijay.com> Jan 13, 2002
- 416 views
On Sunday 13 January 2002 03:08 pm, Bob wrote: > I'm trying to use the getWindowRect function in Win32Lib. I know > that the returning result is a sequence, but when I try to display > this result, all I see are ascii characters beyond 128 (e.g.: ¤Ú) > > example: > > sequence result > result = getWindowRect(win) > wPuts( win, result[2]) getWindowRect seems to return 4 integers: {left, right, top, bottom} That's a sequence of four integers, not ascii characters. Try printing them as numbers: wPuts(win, sprintf("Left = %d, Right = %d, Top = %d, Bottom = %d",result)) Regards, Irv
3. Re: getWindowRect Function
- Posted by timelord at zebra.net Jan 14, 2002
- 428 views
>Hi, > >I'm trying to use the getWindowRect function in Win32Lib. I know >that the returning result is a sequence, but when I try to display >this result, all I see are ascii characters beyond 128 (e.g.: ¤Ú) > >example: > >sequence result >result = getWindowRect(win) >wPuts( win, result[2]) > >Thanks, >--Bob replace wPuts(win, result[2]) with wPrintf(win, "%d", result[2]) >"LIVE LONG AND PROSPEROUS." - quote from 'Startrek'
4. Re: getWindowRect Function
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Jan 14, 2002
- 418 views
I always thought it was: "Live long and prosper". No? Dan Moyer ----- Original Message ----- From: <timelord at zebra.net> To: "EUforum" <EUforum at topica.com> Subject: Re: getWindowRect Function >Hi, > >I'm trying to use the getWindowRect function in Win32Lib. I know >that the returning result is a sequence, but when I try to display >this result, all I see are ascii characters beyond 128 (e.g.: ¤Ú) > >example: > >sequence result >result = getWindowRect(win) >wPuts( win, result[2]) > >Thanks, >--Bob replace wPuts(win, result[2]) with wPrintf(win, "%d", result[2]) >"LIVE LONG AND PROSPEROUS." - quote from 'Startrek'