Nif
March 2nd, 2006, 08:55 AM
I can't get TVM_GETITEMRECT to work while trying to retrieve
the rect occupied by some item in the TreeView when it's owned
by the window belonging to another thread. It just returns
incorrect data in rect and that's it. I've been trying to handle the
issue by allocating memory in another process' space, but it won't help.
I'm completely lost and have no idea how this is supposed to be done in order
to retrieve correct rect coordinates for treeview items. Please advise.
the rect occupied by some item in the TreeView when it's owned
by the window belonging to another thread. It just returns
incorrect data in rect and that's it. I've been trying to handle the
issue by allocating memory in another process' space, but it won't help.
I'm completely lost and have no idea how this is supposed to be done in order
to retrieve correct rect coordinates for treeview items. Please advise.