• 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
Locking the order of an applications windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Locking the order of an applications windows?


  • Subject: Locking the order of an applications windows?
  • From: Jerry LeVan <email@hidden>
  • Date: Mon, 09 Dec 2002 16:53:12 -0500

Hi,

For my first graphical application, I implemented a small program that draws
"spirolaterals".

The app has a drawing window and a parameters panel. The user supplies
several parameters in the parameter panel and clicks on the drawit button
and the spirolateral is drawn.

I would like to keep the parameter panel always above the drawing window.

My first attempt was to invoke:

[parameterPanel setFloatingPanel:YES]

In awakeFromNib.

I found out that this keeps the parameter panel above *everything*. Not so
good.

Is there some nifty way of keeping the relative positions of my two windows
fixed?

(Alternatively, how can I hide the parameter window whenever the drawing
window is not frontmost?)

--Jerry
_______________________________________________
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.

  • Prev by Date: Re: Subject: Re: Cocoa Book OT
  • Next by Date: Responder Chain and newDocument:, runPageLayout:, etc
  • Previous by thread: Re: Sample MultiColumn Text Code Posted - With BUG!
  • Next by thread: Responder Chain and newDocument:, runPageLayout:, etc
  • Index(es):
    • Date
    • Thread