Re: disabling some attributes of a window programaticaly
Re: disabling some attributes of a window programaticaly
- Subject: Re: disabling some attributes of a window programaticaly
- From: Lews Kinslayer <email@hidden>
- Date: Wed, 8 Oct 2003 17:33:56 -0700
NSWindow has the methods setMaxSize and setMinSize. Presumably you could
get the size of your window, and then set the max and min sizes to the
current size, throw in a setShowsResizeIndicator so it doesn't confuse
people, and that solves the resize problem. I have no idea whether this
is the right path or not, but it's worth a shot. I don't know about
making it immobile though
On Wednesday, Oct 8, 2003, at 03:28 US/Pacific, Damien Pacaud wrote:
Hi,
I searched the archives and google (maybe i did not get the search
string right )and did not find answers..so I am asking here ;)
I would like my user not to be able to move or resize a window.
I think this can be done in IB but I'll like to do it on the fly, at
certain times in my "run loop"
Is this possible ?
if yes, how ?
thanks in advance for any help
Damien Pacaud _______________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.