Hi,

Here's a short app to explain my pb:

int main()
{
    Fl_Double_Window *win = new Fl_Double_Window 
(300,200,"Fl_Multiline_Output");
    Fl_Multiline_Output *text = new Fl_Multiline_Output(0, 0, 300, 200);
    text->textsize(12);
    text->value("Hello World This is a test\nHello World This is a test");

    win->show();
    return Fl::run();
}

I'd like to use the 'ctrl c' and 'ctrl v' shortcuts in order to copy/paste the 
text from my app to the Windows Note Pad (for exemple).
So I tried to use the Fl_Text_Buffer

Fl_Text_Buffer *buff = new Fl_Text_Buffer();
buff->text(text->value());

It doesn't work and I know I surely missed something but I just don't know what.
Can someone help me ?

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

Reply via email to