Just treat it like a frame and change it as necessary. RectangleType rect; FrmGetObjectBounds(pForm, FrmGetObjectIndex(pForm, ButtonId), &rect); WinEraseRectangleFrame(roundFrame, &rect); WinDrawRectangleFrame(boldRoundFrame, &rect);
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Remi Ricard Sent: Friday, June 16, 2006 1:30 PM To: Palm Developer Forum Subject: Setting a bold frame to a button Hi, Do you know if it is possible to set the frame of a button to bold ? In the documentation there is the ButtonFrameType enum { ... boldButtonFrame ...}; and the ControlAttrType structure with UInt8 frame ... }; But the documentation also state that you should never access its structure members directly. I know I can set it in my rcp file but I want to do it dynamically. I.e. depending on the action of the users change the frame to bold. I want to do something like the focus ring for a Palm with 5-way navigation but for old palm device. (Ex IIIxe). Remi -- Projects Administrator for pFuel http://pFuel.sourceforge.net -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
