开发者

Window on top of other window

开发者 https://www.devze.com 2023-04-06 22:30 出处:网络
I have twoNSWindows ( independent windows,No Parent and Child relationship), One Window should always be on top of the other Window.When I minimize and again maximize the mainWindow,second window shou

I have two NSWindows ( independent windows,No Parent and Child relationship), One Window should always be on top of the other Window.When I minimize and again maximize the mainWindow,second window should be on top of it. I used the makeKeyAndOrderFront to keep the window on top of the mainWindow [[self wi开发者_运维问答ndow] makeKeyAndOrderFront:self]; How can I achieve the above functionality.


Found a similar question posted earlier: NSWindow - show new window that will always stay on top of current window

Hope this helps :)

0

精彩评论

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

关注公众号