#41041: Define of TreeView_GetItemRect error Open Date: 2020-12-10 13:17 Last Update: 2020-12-10 13:17 URL for this Ticket: https://osdn.net//projects/mingw/ticket/41041 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41041 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2020-12-10 13:17 Updated by: royqh1979 * New Ticket "Define of TreeView_GetItemRect error" created --------------------------------------------------------------------- Ticket Status: Reporter: royqh1979 Owner: (None) Type: Issues Status: Open Priority: 5 - Medium MileStone: (None) Component: (None) Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: In include/commctrl.h, line 4587-4590: #define TreeView_GetItemRect( w, i, p, c ) \ (*(HTREEITEM *)((p) = (i)), \ (BOOL)(SNDMSG ((w), TVM_GETITEMRECT, (c), (LPARAM)((LPRECT)(p)))) \ ) line 4588 (*(HTREEITEM *)((p) = (i)), is wrong, should be: ((*(HTREEITEM *)(p) = (i)), -- Ticket information of MinGW - Minimalist GNU for Windows project MinGW - Minimalist GNU for Windows Project is hosted on OSDN Project URL: https://osdn.net/projects/mingw/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/mingw/ticket/41041 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41041