1. WIN32Lib Listview Scrolling

Hello Derek,
Possible problem with win32lib 0.58.09
If I load a listview of about 300 rows and set it to display grid lines,
when I scroll page by page the grid lines are not re-painted, its as if
it can not keep up.

Regards
Tony Steward

new topic     » topic index » view message » categorize

2. Re: WIN32Lib Listview Scrolling

----- Original Message -----
From: "Tony Steward" <tsteward at dodo.com.au>
To: "EUforum" <EUforum at topica.com>
Subject: WIN32Lib Listview Scrolling


>
>
> Hello Derek,
> Possible problem with win32lib 0.58.09
> If I load a listview of about 300 rows and set it to display grid lines,
> when I scroll page by page the grid lines are not re-painted, its as if
> it can not keep up.
>

I just created a listview with 4,000 entries and I had no problems at all.
What sort of machine are you running that on. I used a Windows ME, Intel P3
550MHz with 256MB RAM.

new topic     » goto parent     » topic index » view message » categorize

3. Re: WIN32Lib Listview Scrolling

Hmmm, I just loaded 8000 records into a listview 
and nothing showed up. 
 
Ive had this program for almost two years and until 
now it always worked, pre win32lib v.58 that is. 
although I have made minor alteration in the past 
I didnt think I would have to rewrite after v.57 
 
Im using WinXP, 2.53ghz, 512mg 
 
Euman 
 
----- Original Message -----  
From: "Tony Steward" <tsteward at dodo.com.au> 
To: "EUforum" <EUforum at topica.com> 
Sent: Wednesday, May 28, 2003 6:12 AM 
Subject: WIN32Lib Listview Scrolling 
 
 
> ======== The Euphoria Mailing List ========  
>  
>  
> Hello Derek, 
> Possible problem with win32lib 0.58.09 
> If I load a listview of about 300 rows and set it to display grid lines, 
> when I scroll page by page the grid lines are not re-painted, its as if 
> it can not keep up. 
>  
> Regards 
> Tony Steward 
>  
> =^========================================== 
> This email was sent to: euman at bellsouth.net 
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: WIN32Lib Listview Scrolling

I've just run the code below and everything looks fine.

--------------
include Win32lib.ew
without warning

constant Window1 = createEx( Window, "Big ListView", 0, Default, Default,
600, 400, 0, 0 )
constant myLV = createEx( ListView, {"One","Two"}, Window1, 44, 36, 500,
300, or_all({LVS_REPORT,LVS_SHOWSELALWAYS}), 0 )

setLVStyle(myLV, {LVS_EX_FULLROWSELECT,
                  LVS_EX_GRIDLINES,
                  LVS_EX_HEADERDRAGDROP})
VOID = setLVInsert(True)

for i = 1 to 8000 do
    VOID = addLVItem(myLV, 0, {sprintf("ITEM %4d", i),sprintf("ITEM %4d",
8001-i)})
end for

WinMain( Window1,Normal )
------------------

----- Original Message -----
From: <euman at bellsouth.net>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, May 28, 2003 10:52 PM
Subject: Re: WIN32Lib Listview Scrolling



Hmmm, I just loaded 8000 records into a listview
and nothing showed up.

Ive had this program for almost two years and until
now it always worked, pre win32lib v.58 that is.
although I have made minor alteration in the past
I didnt think I would have to rewrite after v.57

Im using WinXP, 2.53ghz, 512mg

Euman

----- Original Message -----
From: "Tony Steward" <tsteward at dodo.com.au>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, May 28, 2003 6:12 AM
Subject: WIN32Lib Listview Scrolling


>
>
> Hello Derek,
> Possible problem with win32lib 0.58.09
> If I load a listview of about 300 rows and set it to display grid lines,
> when I scroll page by page the grid lines are not re-painted, its as if
> it can not keep up.
>
> Regards
> Tony Steward
>
>



TOPICA - Start your own email discussion group. FREE!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu