Hi,

I've posted this report a couple of times but havent received any feedback. 
I'm surprised nobody has had this problem with OS3.5 or maybe there's just 
something wrong with my code. Anyway, I've done some more digging and so 
here it goes again:

I have a category popup on my main form, this works nicely with anything 
below OS 3.5. But in the new OS when I tap on the popup and select a new 
category, there is some garbage left on the screen, mainly the selection 
from the popup list is not cleared when the popup is closed.

I do the following calls:

CategoryCreateList
LstPopupList
CategoryFreeList

Looking at the Palm OS source code for CategoryCreateList I have traced the 
problem to LstSetSelection. It seems that in OS < 3.5 LstSetSelection does 
some internal list stuff but that's it. While in OS 3.5, LstSetSelection 
actually displays the selected item on the screen (!!). This is the problem 
because then when LstPopupList get's called, a copy of what's on the screen 
at the popup location is saved with WinSaveBits and when the popup closes 
the screen is restored with WinRestoreBits but this also restores the 
garbage that LstSetSelection displayed before the popup was opened!

Is LstSetSelection broken in OS 3.5 ? Anybody can confirm this ?

Thanks

Chris



---
Christian Vandendorpe ([EMAIL PROTECTED])
http://www.zorglub.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to