SFML community forums

Help => Window => Topic started by: Tima32 on July 11, 2021, 01:50:44 am

Title: WinEvent
Post by: Tima32 on July 11, 2021, 01:50:44 am
Is there a way to get windows events other than using the SetWinEventHook function?
Title: Re: WinEvent
Post by: eXpl0it3r on July 11, 2021, 04:00:11 pm
You mean other events that what you get via sf::Event and window.pollEvents()?
Title: Re: WinEvent
Post by: Tima32 on July 11, 2021, 07:41:27 pm
Yes. But I need some events that cannot be received via sf :: Event. For example, raw input and stylus events. Usually these events are received by the function
LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)

(System Windows)
Title: Re: WinEvent
Post by: eXpl0it3r on July 12, 2021, 12:00:51 am
There's no other way with SFML than custom platform specific code