> While the form data structures allow this in theory, its not possible to
> specify a modal form with a non-thick border using either PilRC or
> Constructor.  I don't think it would be safe to hack the resources -- its
> entirely possible that PalmSource could change the look of windows in the
> future, making any settings other than the two normal ones produce ugly
> results.
>
> Can you do what you want at runtime, making your own window using
> WinCreateWindow and populating it manually?

This may be a lot of work -- I have a dozen or so popups with lots of
labels, icons, etc.

Is there another way to do what I want?  I have a toolbar at the bottom of
my screen that is just a group of pushbuttons, like this:

[  ][  ][  ][  ]

When the user clicks on one of the pushbuttons, a popup appears:

[  ]
[  ]
[  ]
[  ]
[  ][  ][  ][  ]

The popup is the Form I'm having trouble with.  The behaviour I'm after is
when the user taps outside of the popup, the toolbar pops back down.  I
tried creating the popup as a non-modal Form (so that I don't get the heavy
frame around it), but I get a strange behaviour that when the user taps
outside of the Form, the Form seems to adjust its origin to (0,0) and can
sometimes get tapped.  I created a workaround by having the non-modal Form
take up the whole screen (so that it was mostly blank with the popup's
controls positioned where I needed them and the origin of the Form was at
(0,0)).  This worked great until I started running it on Color devices, in
which the area under the Form was getting erased (which is a previous post I
made).

~Rich


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

Reply via email to