Ha! Thanks guys!.. You were correct.. I was not allocating memory for the
String, and therefore when the inversion routines are called internally, the
string ptr was invalid, causing the symptoms you describe.  I'm using a
global variable for the string buffer now, and all is well... 8-)

Regards,

Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
"Scott Johnson (Bellevue)" <[EMAIL PROTECTED]> wrote in message
news:35781@palm-dev-forum...
>
> > From: Alan Ingleby [mailto:[EMAIL PROTECTED]]
> > the system seems to invert the pushbutton controls to black
> > instead of blue.  It *only* does this after I have used a
> > CtlSetLabel call to change the control's label.
>
> Are you setting the label to blank?  The OS reverts to the pre-3.5 invert
> highlighting if a control's label is blank.  It assumes the button has a
> bitmap inside it so it uses inversion to not clobber the bitmap.
>
> -slj-
>
>
>



-- 
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