Re: getWindowRect Function
- Posted by Irv Mullins <irvm at ellijay.com> Jan 13, 2002
- 395 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