Page 1 of 1

Subject: Issue with Mouse Events in NoesisGUI MVVM User Control within SDL Window

Posted: 13 Jun 2024, 17:38
by xguyor
Hi NoesisGUI Support,

I'm encountering an issue while rendering a NoesisGUI window implemented in MVVM (UserControl) into an SDL window. The MouseButtonUp/Down and similar events do not trigger the corresponding MouseLeftButtonDown and similar callbacks in the ViewModel.

When I display the window using the Noesis AppLauncher class, everything works fine, so the problem is not within the screen's implementation itself.

Could you provide guidelines on how to properly render a NoesisGUI screen into an SDL (or other) window while ensuring mouse events are correctly handled?

Thanks,
Guy

Re: Subject: Issue with Mouse Events in NoesisGUI MVVM User Control within SDL Window

Posted: 14 Jun 2024, 10:07
by jsantos
Are you injecting the inputs to the view? I recommend having a look at our Win32Display implementation for this.