I have a menu bar with two menus on it. In the app, when I tap the silk-screen menu button, the menu appears correctly, but when I tap one of the menu items and it redraws (to invert color), it draws the wrong menu item. E.g., I tap "Cut" and it repaints "Copy" with inverted colors. I figured out it's drawing "Copy" because "Copy" is below "Cut" on the menu, and the menu repaints at the wrong coordinates (vertically off by about 12 pixels, or one menu item's height).
If I hold down the stylus and drag it up and down the height of the menu, I can repaint all the items in the menu, and I find that the top item is painted at a y-coordinate of 0. This is on top of the menu bar -- where it should have the menu title of "Edit". Also, the x-coordinate is wrong. "Edit" is the second menu on the menu bar, but when it repaints the menu items, it paints them starting at an x-coord of 0 on the screen. Basically, it thinks the menu is at coords of 0,0. I don't touch internal structures anywhere. Just to make darn sure I'm not accidentally overwriting some portion of memory, I commented out everything in this form's frmOpenEvent. Now I have a blank form with a menu, but the menu items still repaint at the wrong coordinates. I don't think my menu event handler can have anything to do with this, because it doesn't get called until the stylus is lifted off of a menu item, and all this happens before that. Can anyone give me some leads? I've run out of ideas. Thanks, Stan [EMAIL PROTECTED] cell: (617) 216-9814 fax: (617) 547-5297 http://www.xenware.com/ http://store.yahoo.com/xenware -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/