Hi,
how can I turn label bold? I have tried this:
void CtlBoldFont(UInt ctlID,Boolean bold)
{
ControlType ctl;
ControlType * ctlP = GetObjectPtr(ctlID);

        MemMove (&ctl, ctlP, sizeof (ctl));
        
        if(bold)
                ctl.font = boldFont;
        else
                ctl.font = stdFont;
                
        MemMove (ctlP, &ctl, sizeof (ctl));  
        
        CtlDrawControl (ctlP);
}

But it doesn't work. Any ideas?
Thank you.

Vitaly 

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

Reply via email to