Re: Preventing windows from being dragged
Re: Preventing windows from being dragged
- Subject: Re: Preventing windows from being dragged
- From: Steve Christensen <email@hidden>
- Date: Thu, 21 Aug 2008 20:18:06 -0700
Kinda hair-trigger on the defensiveness, dontcha think, especially
since Andrew didn't actually say you were wrong?
The great majority of Mac applications do not run in kiosk mode so
for most cases preventing window movement *is* wrong because you take
control away from the user. Had you first mentioned that you were
building a kiosk app - a vital piece of info - you might've received
what you considered to be useful replies right off the bat. Or to
quote the Xcode list's monthly reminder, "For a great introduction to
asking technical questions on a mailing list, see “How To Ask
Questions The Smart Way” by Eric Steven Raymond at http://catb.org/
~esr/faqs/smart-questions.html."
On Aug 21, 2008, at 7:43 PM, Mike wrote:
What I am doing is definitely not "wrong".
My application is a kiosk application, I put up shielding windows
on all
attached monitors, and I enter kiosk mode. I then have a totally black
display with a single window - mine - which is the size of the main
display but which I want to be immovable.
I suggest you familiarize yourself with OS X's kiosk mode and Core
Graphics' shielding windows before you go telling people they are
"wrong".
What I am doing is no more "wrong" than a game developer taking
over the
display.
In fact, you're a time-waster because instead of helping people,
all you
can do is tell them "you're wrong" without providing any kind of
solution (and without even knowing what you are talking about).
If you don't have the ability to help people, then please refrain
from polluting the mailing lists with time-wasting nonsense.
Mike
Andrew Merenbach wrote:
Hi, Mike,
Unfortunately, I'm not sure as to the exact answer to your
question. Do bear in mind, however, that -- even if there is a
way -- you'll have to take into account that the user might very
well switch Spaces, rendering your window no longer visible.
While I won't tell you right-off-the-bat that what you're doing is
wrong, as you probably have a good reason for doing what you ask,
may I enquire: what exactly are you attempting to do? Helping
everyone to understand your situation might help everyone in
helping you. :)
Best,
Andrew
On Aug 21, 2008, at 6:10 PM, Mike wrote:
Is there any way to prevent a Cocoa window from being dragged
while it is onscreen?
Thanks,
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden