|If you're using MFC, most of the classes abstract away the idea of having to send messages. Check out the documentation for CTabCtrl::SetCurSel(int nItem)?
Or do you actually need to move the mouse?
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.