How to force any application's window to redraw
I am looking for a way to force any window (even the ones where I am not the owner) to redraw. It has to work for all window (cocoa, carbon , ...)
Do you have any pointer to achieve this?开发者_StackOverflow中文版
Thanks in advance for your help,
Regards,
You must set this property in the initWithWindow method [self setShouldCascadeWindows:NO]; ,here the self refers to the window that is being initiated.
精彩评论