I'm trying to display a window and remove it later using FtrSet/FtrGet
to store the pointer.

I can't see what's wrong with this.

/** Code Snippet *//

RectangleType lst;

WinDrawRectangleFrame ( simpleFrame, &lst );

if (FtrSet(myCreator,0x115c,(DWord) &lst) == 0)
{

}


//Later in my code I want to remove the Rectangle from the screen
if (FtrGet(myCreator,0x115c,(DWord *)&lst) == 0)
{
        WinEraseRectangleFrame(simpleFrame, &lst);
}

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to