hWnd get FPS

Hello,
I'm trying to make a program which will get all open windows and output their FPS.
I know how to get the windows and store them into an HWND array, but I've found nothing online about getting their framerates, and I was wondering if it's even possible.
Any help would be amazing!
Thanks
yes it is possible , look within the WndProc callback function .
Thanks for your response.

I was looking online for WindowProc parameters and came across WM_TIMER ( https://msdn.microsoft.com/en-us/library/windows/desktop/ms644901(v=vs.85).aspx )
I'm assuming, but not sure, this is what I should be using to obtain the FPS of a window. However, I'm not positive how to go about getting FPS with a timer like that, so I'm probably wrong.

Thanks again
Yes WM_ seems good .
What??
WM_TIMER is what I'm looking for then?
I don't understand.

If I set a timer to 1 second, that'll alert me at one second, but I can't count my own program's frames from 1 second in a different window, because then I'd still only get my own window's FPS, not other windows.

I'm confused as-to how WM_TIMER is going to help me.
Bump?
Topic archived. No new replies allowed.