Coordinate issues

This is a discussion on Coordinate issues within the Windows Programming forums, part of the Platform Specific Boards category; Ok, I've done my own listview edit box for editing subitems and such before, but I can't get it positioned ...

Coordinate issues

Ok, I've done my own listview edit box for editing subitems and such before, but I can't get it positioned right this time around. Last time, all I did was use LVM_GETSUBITEMRECT and position the edit box accordingly. This time, however, the listview is inside a groupbox on a tab. LVM_GETSUBITEMRECT isn't getting me what I need anymore. The damn edit box appears way outside the listview and groupbox. This is confusing as hell.