Hi,
I'm trying to solve this problem for hours and I haven't found a solution yet. I want to use SFML on a windows forms application, my application runs very well, I've handled a RenderWindow inside of a label using that in form_load Method :
window = gcnew RenderWindow(lblWindow->Handle);
window->MouseButtonPressed += gcnew EventHandler<SFML::Window::MouseButtonEventArgs^ >(this, &frmPrincipale::OnMouseButtonPressed);
That works fine, except for a point... when the label is double clicked, the program does nothing, what I want is to execute the OnClick method 2 times. Is there a way I can handle double click in a label? I've tried to handle on another window like that :
window = gcnew RenderWindow(VideoMode(480, 206), "SFML Window");
and it works fine. How can I do that in a label?
Thanks a lot.
Khepri.