From: Maxim Ap Date: 2009-12-29T21:37:59+09:00 Subject: Re: au3 0.1.1 released Hi Edward, I have similar problem with the WinAPI call. I am trying to get tree control item rectangle. C code for this looks like #define TVM_GETITEMRECT (TV_FIRST + 4) #define TreeView_GetItemRect(hwnd, hitem, prc, code) \ (*(HTREEITEM *)prc = (hitem), (BOOL)SNDMSG((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc))) It is not a problem to call SendMessage(SNDMSG), but the problem is how to transfer parameters(hitem) and get response in this case. It would be great if you can help with this. Thanks, Maxim -- Posted via http://www.ruby-forum.com/.