I have tried to use SetWindowDisplayAffinity() but it returning false always. I don\'t know where to hook this function. I am not sure that we can Manipulate the foreign windows