xguyor
Topic Author
Posts: 6
Joined: 11 Apr 2024, 19:03

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

13 Jun 2024, 17:38

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
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

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

14 Jun 2024, 10:07

Are you injecting the inputs to the view? I recommend having a look at our Win32Display implementation for this.

Who is online

Users browsing this forum: No registered users and 7 guests