"McCollister, Mike" <[EMAIL PROTECTED]> wrote:
> I have taken over Mitch Blevin's PhlegmHack and renamed it McPhling. This
> program is similar to switch hack but includes icons.
>
> What it does is put a list of your most recent applications at the bottom
> left of the screen when the stylus is swiped from the menu to the apps key.
> However, I have found that if I have a popup list already open, such as the
> category list from the memo application, that my popup application list is
> positioned right under that list. Here I have set list.bounds.topLeft.x = 0.
> I then discovered that if I put in list.bounds.topLeft.x = -160 then it will
> always be at the bottom left of the screen. Is this a bad thing to do this?
After determining the physical screen location of your list (which your
code is already doing), use WinDisplayToWindowPt() to map that physical
location to a position relative to the active draw window. That way, no
matter what the active draw window is, your list will pop in the
desired location.
--
Roger Chaplin
<[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/