[Bug 876] New: - listview report style column alignment issues

wine-bugs at winehq.com wine-bugs at winehq.com
Fri Jul 12 10:34:22 CDT 2002


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

           Summary: listview report style column alignment issues
           Product: Wine
           Version: CVS
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wine-gui
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: medbi01 at accpac.com


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.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=876>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list