[Bug 876] listview report style column alignment issues

Wine Bugs wine-bugs at winehq.com
Fri Jun 20 07:27:49 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=876





------- Additional Comments From z_god at wanadoo.nl  2003-20-06 07:27 -------
Bug comments restored from Gmane.org: 
 
I first note this in ACCPAC 5.0A screens but it can be demonstrated using for  
example the LISTHDR example from MSDN (with a little coding to force the issue). 
 
1. (Fixed) There were too many columns.  This was caused by  
LISTVIEW_DeleteColumn returning FALSE even though it had succeeded. 
 
2. The columns are one column too far right.  MSDN documents the process of  
adding a temporary first column before adding the real columns and then  
deleting the first column, in order to allow non-left-justification on the real  
first column.  The current code does not correctly maintain the column order  
list (including such issues as handling partial order arrays etc.) 
 
Basically the dlls/comctl32/header.c code needs to be beefed up for the  
following messages: 
HDM_GETORDERARRAY 
HDM_SETORDERARRAY 
HDM_INSERTITEM(A/W) 
HDM_DELETEITEM 
HDM_SETITEM(A/W) 
HDM_GETITEM(A/W) 
HDM_ORDERTOINDEX 
 
This will require clarification of the definitions of the "order" aspect of  
these functions; MSDN is less than clear, especially about degenerate cases. 

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list