RE: Move GSI

2005-06-27 Thread Jonathan King
How do you move a graffiti shift indicator when responding to a display changed event? Thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Move GSI

2005-06-27 Thread Ben Combee
At 10:23 AM 6/27/2005, you wrote: How do you move a graffiti shift indicator when responding to a display changed event? There's code in the DIA example in the PalmSource KB to do this. It involves iterating through all the objects in the form, finding the GSI, then adjusting its position.

RE: Move GSI

2005-06-27 Thread Stadin, Benjamin
Put this into your form resize function. Int16 horizontalOffset, verticalOffset; Coord x, y; UInt16 index; CollapseResizeForm(frmP, false, &horizontalOffset, &verticalOffset); index = FrmGetNumberOfObjects(frmP); while (index--) { if (FrmGetObjectType(frmP, index) == frmGraffitiStateObj)