Mert Sa?lam a �crit : > I want to make a menu that opens when I long tap on an item. > How can I generate or handle long tap event? > How can I set a lists coordinates dynamically?
When you get a ctlEnterEvent on the said item, set the target time (TimGetTicks + the delay you want), get the screen bounds of the item (FrmGetObjectBounds), loop with EvtGetPen until: 1- the tick delay is reached -> pop up a list or open a menu by enqueueing a vchrMenu character 2- the XY pen coordinates reported by EvtGetPen are outside the item bounds (RctPtInRectangle) -> return true in the handler 3- EvtGetPen reports the pen is up -> return true in the handler -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
