My right hip flexor gets angry with me fairly often when I have too much dancing fun after working really long hours/weeks at the computer.
My doctor thinks it's from Rhythm and all of my Rumba walks practice without proper warm-up. She even demonstrated the rumba walk movement for me! (Yes, my doctor is that awesome and she dances Salsa too!)
I was prescribed a topical medication to reduce the swelling and given a long list of exercises.
So, I've been putting way more emphasis into my warm-ups and doing the exercises for a few months now with minimal relief. The best I feel is when I reduce my time at the keyboard, walk, dance and workout.
So, the only possible solution now is to retire 30yrs early (with my underwhelming retirement savings) and just dance, right?
So my hips have hurt for over a year now, I feel like my situation is very similar to what you describe. I'm probably paying a price (every time I say/write that, I hear Jim Carrey saying "You will pay a terrible price" from Ace Ventura) for overuse during the years. I also worked with and received a list of exercises from a PT last summer and performed them faithfully, but I don't think that really addressed the issue, which I'm pretty sure is just inflammation or bursitis (not "weak hip muscle"). I still stretch here and there but I'm now a heavy user of ibuprofen and RockSauce. I'm not really sure what to do otherwise.
Also same for me about reducing time at the keyboard - also I've noticed that it seems somewhat correlated with my stress level. If I'm "happy" or feeling recharged, I feel it a lot less.

