Keith:
> I think I probably "spoke" too quickly. I'm now thinking that
> setting a control's frame style is not supported for the standard
> controls. Buttons and PushButtons get standard frames, and others
> get no frame. I think that's the standard UI that CtlNewControl is
> trying to enforce. Are you trying to go beyond that somehow?
>
I'm trying to create a Button with no frame. (Actually, a variable number
of frameless Buttons, for which I then draw my own "frame" around the
group). And, it works just fine. Except that now, the access to the frame
value is being restricted by POSE's rigid rules. Which, I must say, is a
great idea. Just let me access what's legal. I need a Button without a
frame, and the UI supports it without a problem, so .. ???
> Yeah, but still...you created the control by calling CtlNewControl.
> You specified an ID and a group. You can stash that off somewhere
> else for later. Like I said, this is not ideal or even my idea of
> fun. But it's an option, isn't it?
Right ... it's just that my existing tight routines don't cater for that.
I'll have to come up with some fancy stashing mechanism, and figure out
where to store that value. I didn't need to do any of this prior to the
restrictions. This *shouldn't* be required. It's an oversight by Palm.
Perhaps a relaxation on POSE's rules would do for now, and then tighten it
up when Palm responds with enough really cool access methods to solve our (I
suspect I'm not the ONLY person complaining about these things) problems.
>
> Please keep in mind that I'm not the Palm OS engineer working on the
> user interface. I'm just the Poser engineer trying to enforce the
> rules as he understands them
Understood. Trust me, I can relate to your plight, and appreciate your
efforts. Just because you know how things SHOULD be done, doesn't make them
happen. Too bad we don't have Star Trek's Captain Jean Luc Picard's ability
to make things happen by just saying "Make it so".
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/