Hi,
thanks for your reply.
> By using the ::add() method....
>
>
> Fl_Box *b =3D new Fl_Box....
>
> my_window->add(b);
what do you mean the parameter 'my_window'??
I tried this in my callback function, but still not work.
>
Thanks, i am new to FLTK.
So look forward to receiving your assistances.
cheers,
Yang
>
> > > Fl_Check_Button* flcb =3D3D ((Fl_Check_Button*)w);
> > > if ( flcb->value() =3D3D=3D3D 1 ) {
> > > flcb->labelcolor(FL_RED);
> > > flcb->label("Label&Scale");
> > > new Fl_Box(0, 20, 1000, 20, " first ");
> > > new Fl_Box(0, 640, 1000, 20, " second ");
> > > new Fl_Box(0, 660, 1000, 20, " third ");
> >=20
> >=20
> > How could I add these three new Box classes to the parent window???
>
>
> By using the ::add() method....
>
>
> Fl_Box *b =3D new Fl_Box....
>
> my_window->add(b);
>
>
> This is covered in the docs, so a little reading might bring further
> enlightment.
>
>
>
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex=
> SS14 3EL
> A company registered in England & Wales. Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk