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/.