At 2:38 PM -0700 6/8/01, Terry Dennis wrote:
>I can't even find a way to create the FIRST control with "noFrame".
>
>I have a fairly sophisticated application that uses dynamically created
>forms, containing dynamically created controls, all deteremined by dynamic
>User Interface action, driven by some fancy routines and even fancier tables
>of control information.  There's nothing pre-determined in any of this,
>other than a few forms "up front" to kick off the app.
>
>I don't think there's a way to "clone" an existing Control, so even defining
>a bunch of "spare" controls in a form won't help me any.  I actually tried
>copying an entire Control just for kicks, and got another access violation
>from POSE.

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?

>  > Um, what group was it in when you created it
>
>See the response to the first question.  If I had a predefined form and
>controls, none of this would be a problem.  But, since the forms and
>controls are all added dynamically, so are the group assignments.  I used to
>be able to "remember" which group a control was in by merely examing its
>attributes.  But, not with POSE's added restrictions.

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?

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.  Just like a cop doesn't necessarily 
understand *why* a certain law is a law, but still has to enforce 
them.  (Did you know that in San Francisco, it's illegal to walk your 
elephant down Market Street unless it's on a leash?)
-- 

-- Keith Rollin
-- Palm OS Emulator engineer

P.S. Check out the new e-mail address.  [EMAIL PROTECTED] will work 
for a while, but anyone mailing me needs to update to the new one 
eventually.

-- 
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