First, you will need to hook DirectX by detouring.
Detours will help you make your hack Undetected.
You will need to hook PresentScene and Reset.
After that, you will need to create text using the DirectX SDK.
You can draw text using public functions.
Or, you can just download a menu base, and save yourself the trouble.