• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: disabling some attributes of a window programaticaly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >disabling some attributes of a window programaticaly (From: Damien Pacaud <email@hidden>)

  • Prev by Date: Re: Loading a TTF font
  • Next by Date: Re: Drag out
  • Previous by thread: disabling some attributes of a window programaticaly
  • Next by thread: Re: different launch methods
  • Index(es):
    • Date
    • Thread