How to reparent a Cocoa window?

后端 未结 3 1499
余生分开走
余生分开走 2021-01-15 03:30

I need to host my window upon a window of another application. How to enumerate windows of another Cocoa application? Is it possible to control them? If no: how can I draw

3条回答
  •  执笔经年
    2021-01-15 04:07

    Checkout CGWindow.h

    CGWindowListCreateDescriptionFromArray() is probably what you're looking for.

提交回复
热议问题