Terry - thanks, somehow I missed that when reading the archives; :).  
FrmAddSpaceForObject does work like a charm, and doesn't even seem all
that hackish; I hope OS 5 at least allows this kind of access, which is
far less intrusive that what I would have done otherwise.

Sajul - well, actually, I have all the control I need over when windows
open or close.  I'm not planning to put close boxes on these windows, so
if somebody closes one, it will be by clicking an "OK" button or a
"Close" button or something, and I'll catch the events.  I'm basically
writing a lightweight window manager on top of the Form API.  But also,
doesn't FrmDeleteForm destroy all the objects inside the form as
well?  I believe that's in the documentation....I've been doing that
successfully without warnings.  I am also using some funny memory
management tricks, though (new and delete are overloaded to use a
transient heap), so I may be circumventing the issue in other ways.

Hope this answers your questions, and as soon as my boss gets back from
PalmSource, I can probably answer the questions about whether there are
facilities like this in OS 5 for myself....

-d

 On Thu, 7 Feb 2002, Sajul
Pamban Nandakumar wrote:

> Hi Terry/Dan,
>             The code you have given, since it accesses Palm OS internal 
> structures won't it fail on higher end devices like O.S. 5?
> Or is there any new provision for the new OS?
>             This is for you Dan. If you are dynamically creating UI 
> objects for multiple windows, how do you plan to delete them in the end. 
> I have some experience in dynamic UI and as far as I know the controls 
> have to be deleted, exactly in the reverse order of creation else POSE 
> gives a warning about memory. In a multiple window microbrowser how does 
> one handle that? The program has no control over the user actions. He 
> can close a window any time he wants.
> Cheers
> Sajul
> 
> Terry Dennis wrote:
> 
> >Dan: Welcome to the small, but exclusive, club whose members try to make use
> >of Palm's Dynamic UI functionality.
> >
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/
> 

---

  daniel.m.mason / [EMAIL PROTECTED] / 617.510.0829


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to