开发者

How to make an app without titlebar?

I'm quite new to developing on the Mac, I've only done iPhone programming until now. I'm trying to ma开发者_JAVA技巧ke an app that doesn't have a titlebar. I'd still like to allow the user to move the window around by clicking anywhere within the window and dragging. Is this possible, and if so, how can I get started on something like this? Thanks!


You could make it a borderless window.

[myWindow setStyleMask:NSBorderlessWindowMask];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜