I want to set a timer for a window, but I don't know if that window already has timers running. If it does I do not want to overwrite any of those, so I need to choose a timer id that is free. MSDN is not helpful in my case, they describe pretty much all permutations EXCEPT if you have a hwnd and not want to replace a timer.
So either if it's possible to give 0 or something as nIDEvent and have Windows create a new uniqe id automatically, or if there is some way to list currently running timers so I can avoid using any of those?
MSDN for SetTimer: http://msdn.microsoft.com/en-us/library/windows/desktop/ms644906%28v=vs.85%29.aspx