By hooking the appropriate event, triggering what I wanted to happen, and then seeing what arguments were passed. And by searching and looking at existing code
I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).