You don't need subclassing for this. Just send those messages to the control's hWnd using SendMessage API.

If you haven't used any API before, you may find this tutorial helpful.