Alaska Software Inc. - Windows Vista
Username: Password:
AuthorTopic: Windows Vista
Joe Carrick Windows Vista
on Sun, 09 Sep 2007 21:21:13 -0700
I know that Xbase++ is still not Vista compatible, but I just thought 
I'd pass on a problem that I've found and a workaround.

XbpListbox is very slow (up to 30 seconds or more to display) when used 
on a Windows Vista system.  To fix this, Themes needs to be totally 
disabled.  It can be done within the application just before creating 
the listbox and then restored. 

Generally, I only restore the NONCLIENT (Borders) portion of Themes - 
partly because some controls just work poorly when using Themes - but 
mostly because I prefer the appearance of the controls when they look 
like the Win9x versions.

Anyway, the Listbox definitely needs work to be Vista Compatible.

-Joe
Osvaldo L AokiRe: Windows Vista
on Tue, 11 Sep 2007 22:28:53 -0300
HI Joe,

    Alaska already solved XbpListbox problem in xbase 1.9...
    I had this problem, and interacting with support team,
they send me a new DLL to solve this slow problem..

    You dont need do disable Themes...

    You can request this fix from Alaska Support...

    Osvaldo L Aoki

"Joe Carrick" <joe.carrick@dslextreme.com> escreveu na mensagem 
news:1573e12e$2f2aa40$3bfae0@news.alaska-software.com...
>I know that Xbase++ is still not Vista compatible, but I just thought I'd 
>pass on a problem that I've found and a workaround.
>
> XbpListbox is very slow (up to 30 seconds or more to display) when used on 
> a Windows Vista system.  To fix this, Themes needs to be totally disabled. 
> It can be done within the application just before creating the listbox and 
> then restored.
> Generally, I only restore the NONCLIENT (Borders) portion of Themes - 
> partly because some controls just work poorly when using Themes - but 
> mostly because I prefer the appearance of the controls when they look like 
> the Win9x versions.
>
> Anyway, the Listbox definitely needs work to be Vista Compatible.
>
> -Joe
Joe Carrick Re: Windows Vista
on Thu, 13 Sep 2007 12:05:55 -0800
I did some more testing and found that I could correct the problem by 
adding a sleep(.001) after reconfiguring the XbpListbox.

   oLeftList:configure()
   sleep(.001)

I don't have any instances where this problem shows up except after 
:configure() and I haven't seen it with other Xbp's.  However, I 
probably need to test a bit to make sure.  Anyway, at this point it 
seems this may just be a timing issue with Windows Vista and Xbase++.
Joe Carrick Another Observation
on Wed, 26 Sep 2007 16:18:07 -0800
If the Listbox uses the "Terminal" Font or the "Alaska CRT" Font then 
there doesn't appear to be any slowdown when Themes are On.  However, if 
the "Courier New" font is used then the slowdown is obvious.

I don't know exactly what that means - ie: what causes it, but it's 
definitely going to take some more study.

In any event, turning Themes off just before creating a Listbox and then 
turning Themes on [ I prefer just STAP_ALLOW_NONCLIENT ie: Borders ] 
afterwards eliminates the slowdown.