> Hello experts
>
> I`ve got a question again *g*.
>
> I created a contextmenu with the help of an inherited fltk::menu-class. I 
> show this contextmenu like this:
>
> this->popup(rect)
>
> The problem is, that there is an "ugly" yellow border now, see this 
> screenshot below:
> http://image-upload.biz/files/8ce6560ad89a24382d7ada8fe.jpg
>
> I thought I could remove the border with the help of the border-methode, but 
> I had to notice, that this methode is for windows only ...
> http://www.fltk.org/doc-2.0/html/classWindow.html#a11
>
> It would be great, if anyone of you has got an idea how to remove this 
> border, or at least how to color it black (I already tried to overload the 
> draw-methode of the menu and draw everything black, but the border still 
> stayed yellow ...), that would be great too ^^


I`ve got an other problem with this popup-menu ... it doesn`t receive any push 
and release events ...

int C_IxR_Contextmenu::handle(int _event)
{
        int ret_ = fltk::Menu::handle(_event);
        if (_event == fltk::PUSH)
                std::cout << "holy shit, der Papagei is tot" << std::endl;
        return (ret_);
}

the text doesn`t appear ...

It would be extremly great if you have got a workaround :)

THX!!!!


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

Reply via email to