Look, it's a no brainer solution. You just need to check the OS version and decide whether you need to touch the internals or not. FrmShowObject and FrmHideObject doesn't seem to change the usable flag for a list object in pre-OS 3.3. You have to touch it unless your target customers uses OS 3.5 and beyond or unless there is a glue library function for it.
On Mon, 7 Jan 2002 11:05:14 +0800 , Gavin Maxwell <[EMAIL PROTECTED]> wrote: > >And if you do touch those internal attributes then you need to also realise >that your code will break on future versions of the OS. > >#define DO_NOT_ALLOW_ACCESS_TO_INTERNALS_OF_STRUCTS is your friend! :-) > >Yes, we're prolly starting to sound like a stuck record in this respect... >but it's in your interest. :-) > > >Gavin. > >-----Original Message----- >From: John Leung [mailto:[EMAIL PROTECTED]] >Sent: Monday, 7 January 2002 1:55 PM >To: Palm Developer Forum >Subject: Re: How to remove a listbox ? > > >I guess it depends on the application and situation. I normally use >LstPopupList myself. But if you want to implement some kind of >multiple selection list box, then LstPopupList just won't do and you >may have to set the list usable/not-usable and draw/erase manually. > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
