• 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
Carbon sheet making my Cocoa window unmovable - any resolution?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Carbon sheet making my Cocoa window unmovable - any resolution?


  • Subject: Carbon sheet making my Cocoa window unmovable - any resolution?
  • From: Daniel Morrow <email@hidden>
  • Date: Tue, 26 Oct 2004 09:47:56 -0400

Hi,

I saw a thread about this a month or so ago, but I never saw a solution. Maybe there is none.

Someone wanted to put up a carbon sheet in a cocoa window. This appeared to work, but the main Cocoa window would become unmovable while the sheet was up. And also after, until the user resized the window, or twiddled the toolbar.

I was wondering if whoever posted this originally found any workarounds for this. I would like to put up a Carbon sheet in a Cocoa window. Mainly, because there is no date control in Cocoa, and I really need one. So, I had to make a Carbon window.

Ideally, I'd like to make this a sheet, but if there's still no way to do this, then so be it. Right now, I'm getting the WindowRef of the Cocoa window, and then calling "ShowSheetWindow/HideSheetWindow" with my Carbon window.

I considered using Cocoa's "beginSheet:modalForWindow --- " routine, by getting an NSWindow from the Carbon window, but I wasn't sure how the event processing would work in this situation.

Anyway, if anything else was found out about how to get around this situation, I'd be grateful.

Thanks,
-Dan.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Autocompletion for NSTextFields
  • Next by Date: Re: ADC TV w/ ADC Select
  • Previous by thread: Re: regarding Cut-Copy-Paste of selected rows in outlineView.
  • Next by thread: DOM API for Cocoa/Obj-C
  • Index(es):
    • Date
    • Thread