Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Sep 23, 2017 10:01 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: MBSOverlay floating over everything, not just my application
PostPosted: Thu Apr 26, 2012 8:45 am 
Offline

Joined: Mon Jan 09, 2012 11:39 am
Posts: 12
Hi -
I'm trying to make an overlay window with MBSOverlay which is the topmost in my application, but which doesn't float over all the other applications on my screen as well. (i.e. if I drag Safari over the top of my application, I don't want to see the little floating window over Safari.). I'm currently testing on Mac OS X Lion with Cocoa, but I'll need it to work on Windows as well.

I'm using the example of Overlay Test which comes with the MBS plugins, and in the Create method of Window1 I've changed the boolean values of the line
o=new MyOverlay(500,100,128,150,true, false)

to be all four possible combinations, but it doesn't seem to make any difference.
I'm sure it's a simple thing I'm overlooking; any pointers in the right direction received with glee.
Thanks,
Hamish


Top
 Profile  
Reply with quote  
 Post subject: Re: MBSOverlay floating over everything, not just my applica
PostPosted: Thu Apr 26, 2012 9:04 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
an overlay is globally overlaying. You could simply hide it when the app goes to background...

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: MBSOverlay floating over everything, not just my applica
PostPosted: Thu Apr 26, 2012 9:08 am 
Offline

Joined: Mon Jan 09, 2012 11:39 am
Posts: 12
That'd be why I can't find out how to do it, then :)
Thanks for the tip and the speedy reply, Christian.
H


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group