PDA

View Full Version : PB: NSBorderlessWindow malfunction.




chrislee8
Oct 28, 2004, 11:15 AM
This is a cocoa UI application build in Project Builer.

I have an CustomWindow class which implement the NSWindow class.
I have a MyWindow window in MainMenu.nib, it is built from InterfaceBuilder.

I have added the CustomWindow class to the custom class of the MyWindow , it is done through the info pane.

I thought this will make the MyWindow to run the CustomWindow class while runtime therefore do what CustomWindow supposed to do, it use the NSBorderlessWindow to eliminate the title bar(border).
When I run the application, the MyWindow still shows the title bar(border).

What others do i need to do to get rid of the border?

thanks

btw, is there any api roadmap, poster kind of stuff for project builder(cocoa)?

thanks



jeremy.king
Oct 28, 2004, 12:39 PM
btw, is there any api roadmap, poster kind of stuff for project builder(cocoa)?


You mean like this?

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/NSWindow.html#//apple_ref/doc/uid/20000013

chrislee8
Oct 28, 2004, 08:53 PM
You mean like this?

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/NSWindow.html#//apple_ref/doc/uid/20000013

pretty much yes, thanks