开发者

How to force any application's window to redraw

开发者 https://www.devze.com 2023-01-15 20:00 出处:网络
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 , ...)

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消