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/
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.
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)