Re: Listview gridline problem with Win32Lib0.70.20

new topic     » goto parent     » topic index » view thread      » older message » newer message
Kondor_Attila said...

Thank You Pete!

Glad I could help. Actually, when I looked more carefully, there were I think 8 instances of this bug in Edita, so I added the following fix to Arwen, in SubProc():

    elsif (msg=WM_HSCROLL or msg=WM_VSCROLL) then 
        objectType = ObjectType[id] 
        if objectType=ListView then -- added 20/2/2011 
            if and_bits(sendMessage(id, LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0),LVS_EX_GRIDLINES) then 
                repaintWindow(id) 
            end if 

Unfortunately I have no idea what the equivalent fix for win32lib would look like.

Kondor_Attila said...

The repaintWindow(self) helps as long as MS solves it.

Yeah, like I'm going to get the whole world to upgrade from XP to Windows 7. (Just last week I heard of someone who actually got sacked, some years ago this was, for recommending a company-wide upgrade from XP to Vista!)

Regards, Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu