CWnd *pWnd = CWnd::GetActiveWindow();
pWnd->PostMessage(WM_PASTE,(WPARAM)0,(LPARAM)0);

let me know if you find problems with that.