Re: getWindowRect Function

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu