fred jansen wrote:
> I cant get it working, can anybody point me in the right direction?
> 
> I'm creating a calendar widget adn i want to hide datebutton not used
> in particulair months.
> 
> Button *days[6*7];
> 
> [days[i]->hide() does not work.

        It's probably working, and you're just seeing a latent image.
        When you make something invisible, it won't go away unless you
        tell the widget responsible for drawing the bg behind the button
        to redraw.

        For sure, telling the parent window to redraw should work.
        So right after you hide() the button, tell the parent window
        to redraw, eg:

        days[i]->window()->redraw()

        ..and see if that helps.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to