Re: Carbon sheet making my Cocoa window unmovable
Re: Carbon sheet making my Cocoa window unmovable
- Subject: Re: Carbon sheet making my Cocoa window unmovable
- From: Chris Eplett <email@hidden>
- Date: Tue, 28 Sep 2004 14:21:00 -0400
Actually, there's a bit more to the story... I've discovered that as
soon as the immobile window is resized, it can be moved again. Also,
minimizing to the dock and then unminimizing causes the window to be
movable again.
Should I put it in radar, or will this never be addressed?
-
Chris Eplett
palmOne, Inc.
Senior Software Engineer
email@hidden
978.824.1022
On Sep 28, 2004, at 1:45 PM, Eric Schlegel wrote:
On Sep 28, 2004, at 10:43 AM, Chris Eplett wrote:
Hi all,
I've sent this to the cocoa-dev list as well:
I'm currently building a Cocoa app that loads a Carbon plug-in which
surfaces a sheet as a child of the frontmost window and blocks until
the sheet is dismissed (I have no control over the plug-in, that's
just the way it works).
So, here's the situation... I've gotten it working by calling the
"windowRef" method on my NSWindow to ensure that a WindowRef is
created so that the plugin gets a valid carbon window when requesting
the frontmost window. This is working just fine. However, when I
dismiss the sheet and return from the plugin, my window has become
immobile. It seems to be fully functional in every other respect (I
can close it, I can resize it, I can click on the controls in the
window, etc), except that I can no longer move the window.
Has anyone seen this behavior? Am I missing something? Should I
report a bug?
We haven't really spent any engineering or QA time on displaying a
Carbon sheet on a Cocoa window, so honestly I don't know what will
happen. I think the printing software does this, so it might sort-of
work, but you may easily run into unknown problems.
-eric
_______________________________________________
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