开发者

Why acceptsFirstMouse not invoked in my custom nsview?

开发者 https://www.devze.com 2023-02-18 15:21 出处:网络
Now i have a borderless window which i handle move and resize myself,but 开发者_开发知识库the window cannot be moved or resized when the window is deactive,after some reserach,i subclass a nsview and

Now i have a borderless window which i handle move and resize myself,but 开发者_开发知识库the window cannot be moved or resized when the window is deactive,after some reserach,i subclass a nsview and return YES to -acceptsFirstMouse: But its never invoked. Any one can help me?

0

精彩评论

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