Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Prevent app activation when clicking a window?

Prevent app activation when clicking a window?
Thread Tools
Jan Van Boghout
Registered User
Join Date: Sep 2001
Status: Offline
Reply With Quote
Jul 27, 2002, 04:49 AM
 
I have this one window in my app that should never cause the app to come to the foreground. How can I do this? I just want to make sure it can't respond to mouse clicks.

All help much appreciated!

Jan
     
Gul Banana
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Jul 27, 2002, 04:55 AM
 
All I can tell you is that it is possible, because I've done it accidentally in the past Good luck finding out how!
[vash:~] banana% killall killall
Terminated
     
Jan Van Boghout  (op)
Registered User
Join Date: Sep 2001
Status: Offline
Reply With Quote
Jul 27, 2002, 05:15 AM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Gul Banana:
<strong>All I can tell you is that it is possible, because I've done it accidentally in the past Good luck finding out how!</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">No chance that you remember how you did it, I guess?
You must have an idea what you used? Please?
     
Gul Banana
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Jul 27, 2002, 08:26 AM
 
hmmm
it was.. something to do with the window style mask.. in combination with making the window transparent but the contents opaque? I'm really not sure, I was trying to make the window have no titlebar and be transparent but contain a text field to sit on the desktop. I even think I succeeded, but at the time, the unclickability was just a bug to me.
[vash:~] banana% killall killall
Terminated
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 09:38 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,