I was working with cuteftp and doing testing in listview.c and found that
a window in this application that is normally created as LVS_REPORT under
windows is created as LVS_LIST under Wine.  Styles of 50000000 / 50b1001b /
50114c4b are being passed into WIN_CreateWindowEx() (multiple listviews exist
in this program).  LVS_TYPEMASK is 0x0003, LVS_REPORT is 0x0001, LVS_LIST is
0x0003.  As far as I can tell the values of LVS_TYPEMASK and other listview
styles are correct, matching those in the psdk.  I wrote a test application
specifically for testing the listview control and when running it under Wine
the control has a style of 0x50810001, and when running the same
application under win2k and spying on the control it has a style of
0x50110001.  

I'm not sure if these are two related problems as my test apps style of
LVS_REPORT is the same under wine, are there any reasons why the style of the
control should differ between the two platforms?  There is no style of
0x07000000 that makes sense for w2k to have masked off, and my guess
is that WS_VSCROLL | WS_HSCROLL | WS_DLGFRAME are 0x07000000 and for some
reason w2k decides to just get rid of these styles.

Where else could the style for the listview control be changed before the TRACE
statement in WIN_CreateWindowEx()?

Thanks,
Chris

Reply via email to