Re: [MBS] OverlayMBS.Show : shows attached window, in Cocoa

2011-11-04 Thread Christian Schmitz

Am 04.11.2011 um 18:54 schrieb Michael Diehr:

> Under Cocoa, calling OverlayMBS.Show  when the overlay is attached to a 
> parent window, causes that parent window to come forward.


Sorry, no idea how to change that.

Greetings
Christian

-- 
See you in Frankfurt, Germany at the Real Studio Database Days

More details and registration here:
http://www.monkeybreadsoftware.de/realbasic/events/frankfurt-2011-event.shtml


___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] OverlayMBS.Show : shows attached window, in Cocoa

2011-11-04 Thread Michael Diehr
Under Cocoa, calling OverlayMBS.Show  when the overlay is attached to a parent 
window, causes that parent window to come forward.

A while back, I had a similar issue with win32 builds, so you added 
"WindowsShowMode as integer = 0" to that call so I could use SW_SHOWNOACTIVATE.

I'm wondering if you can add a similar feature for Cocoa?

thanks
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] MBS iSight plugin or example TakePhotos Low CPU Usage problems

2011-11-04 Thread John Sheppard



Greetings Christian.
I am not sure if you read the previous message about this as I have not heard 
from you so I will post it again.

Christian there is something wrong with the MBS iSight capture plugin code or 
the example 
TakePhotos Low CPU Usage.

This example does not accurately capture the iSight image each time.
It very often will not capture a new image but it will show the previous 
image/capture.
Sometimes it will show the previous capture three or four times in a row before 
capturing a new image.
Because of this it's unreliable/not usable.


The time interval between captures does not seem to be the problem as I've 
tried many different intervals including 30 seconds, 1 minute, etc. between 
captures. 


Please look into this and fix it, otherwise it is too unreliable to use.

I'm running this on a MacBook Pro Core 2 Duo 2.26Ghz, 8Gigs ram, OS X 10.6.8 RS 
2010 R5.1
MBS 11.2 and yes I cleared the cache recently :)

Thanks.



From: "mbsplugins-requ...@monkeybreadsoftware.info" 

To: mbsplugins@monkeybreadsoftware.info
Sent: Wednesday, December 31, 1969 4:00 PM
Subject: Mbsplugins_monkeybreadsoftware.info Digest, Vol 361, Issue 9



Today's Topics:

   1.  Re: moving from carbon to cocoa, use which plugin functions?
      (Aaron Andrew Hunt)
   2. Re:  Re: moving from carbon to cocoa, use which plugin
      functions? (Arnaud Nicolet)
   3. Re:  moving from carbon to cocoa, use which plugin
      functions? (Aaron Andrew Hunt)


--

Message: 1
Date: Thu, 3 Nov 2011 20:33:35 -0400
From: Aaron Andrew Hunt 
Subject: [MBS] Re: moving from carbon to cocoa, use which plugin
    functions?
To: mbsplugins@monkeybreadsoftware.info
Message-ID: <5647d526-ef36-4e60-8a60-22df3086c...@gmail.com>
Content-Type: text/plain; charset=us-ascii

On Nov 3, 2011, at 6:36 PM, mbsplugins-requ...@monkeybreadsoftware.info wrote:
> Have you actually tested whether the Carbon versions don't work in  
> Cocoa?
> I thought it was only a name meaning the classes worked on Mac OS X,  
> but was not Carbon-specific.


Yes. I compiled for Cocoa, and those classes seemed not to work. Do I have a 
reputation for being that flaky? ; )

Thanks,
Aaron




--

Message: 2
Date: Fri, 04 Nov 2011 01:40:45 +0100
From: Arnaud Nicolet 
Subject: Re: [MBS] Re: moving from carbon to cocoa, use which plugin
    functions?
To: MBS Real Studio Plugin List 
Message-ID: 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes

Le 4 nov. 11 à 01:33, Aaron Andrew Hunt a écrit:

> On Nov 3, 2011, at 6:36 PM, mbsplugins-requ...@monkeybreadsoftware.info 
>  wrote:
>> Have you actually tested whether the Carbon versions don't work in
>> Cocoa?
>> I thought it was only a name meaning the classes worked on Mac OS X,
>> but was not Carbon-specific.
>
> Yes. I compiled for Cocoa, and those classes seemed not to work. Do  
> I have a reputation for being that flaky? ; )

No, it's rather me who may have the reputation of being too  
suspicious ;-)

--

Message: 3
Date: Thu, 3 Nov 2011 20:59:54 -0400
From: Aaron Andrew Hunt 
Subject: Re: [MBS] moving from carbon to cocoa, use which plugin
    functions?
To: mbsplugins@monkeybreadsoftware.info
Message-ID: 
Content-Type: text/plain; charset=us-ascii

Thank you; I'll try those.

The things which were not working in Cocoa build for CarbonWindowEvents are: 
Gestures (all of them)
and in CarbonApplicationEventsMBS: MenuPopulate

Aaron

On Nov 3, 2011, at 6:36 PM, mbsplugins-requ...@monkeybreadsoftware.info wrote:
> Am 03.11.2011 um 21:37 schrieb Aaron Andrew Hunt:
> 
>> Can anyone tell me which Cocoa MBS classes I need to use instead of these 
>> which I have been using?
>> 
>> CarbonWindowsEventsMBS
> 
> NSWindowDelegateMBS could help here.
> 
>> CarbonApplicationEventsMBS
> 
> NSApplicationDelegateMBS. But some events in CarbonApplicationEventsMBS work 
> in Cocoa apps. Simply try.
> 
>> CarbonEventsTimerMBS
> 
> Should work in Cocoa. Of course we have NSTimerMBS.
> 
>> I guess it is going to be much more complicated than that.
>> 
> 
> It is.
> 
> Greetings
> Christian



--

Send MBS Plugins mailing list submissions to
      mbsplugins@monkeybreadsoftware.info

To subscribe or unsubscribe via the World Wide Web, visit
      
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

or, via email, send a message with subject or body 'help' to
      mbsplugins-requ...@monkeybreadsoftware.info

You can reach the person managing the list at
      mbsplugins-ow...@monkeybreadsoftware.info

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mbsplugins_monkeybreadsoftware.info digest..."

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins_monkeybreadsoftware.i...@ml01.ispgateway.de
https://ml01.ispgatewa

Re: [MBS] moving from carbon to cocoa, use which plugin functions?

2011-11-04 Thread Christian Schmitz

Am 04.11.2011 um 01:59 schrieb Aaron Andrew Hunt:

> The things which were not working in Cocoa build for CarbonWindowEvents are: 
> Gestures (all of them)

For gestures in Cocoa, I think you need to use our CustomNSViewMBS class.

> and in CarbonApplicationEventsMBS: MenuPopulate


NSMenuMBS has an event to modify the menu before it pops up.

Greetings
Christian

-- 
See you in Frankfurt, Germany at the Real Studio Database Days

More details and registration here:
http://www.monkeybreadsoftware.de/realbasic/events/frankfurt-2011-event.shtml


___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info