Use AfxSetResourceHandle.