Re: [MBS] [ANN] 13.0pr3

2012-12-16 Thread Scott Crick

On Dec 16, 2012, at 3:27 PM, Christian Schmitz  
wrote:

> * Added RecursionLimit and RecursionMaxLevel for DirectorySizeMBS class.

Yay! I look forward to playing with this...

Sincerely,

Scott
--
Searchware Solutions
Simply Great Software
www.searchwaresolutions.com

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


Re: [MBS] Getting and setting ARGB data from new style pictures?

2012-12-16 Thread Christian Schmitz

Am 17.12.2012 um 00:18 schrieb Michael Diehr :

> RB now supports true 32 bit pictures where the mask is part of the picture 
> data, obtained by calling
>  new picture (width, height)
> rather than 
>  new picture (width,height,depth)
> 
> Is there a MBS function get or set the ARGB data that's being used in 
> new-style picture objects?


Not yet.

The biggest problem is that the different platforms and console vs. desktop 
have very different alpha styles.
This makes supporting them a pain and is the reason, the plugins don't support 
alpha channel much.

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

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


[MBS] Getting and setting ARGB data from new style pictures?

2012-12-16 Thread Michael Diehr
RB now supports true 32 bit pictures where the mask is part of the picture 
data, obtained by calling
  new picture (width, height)
rather than 
  new picture (width,height,depth)

Is there a MBS function get or set the ARGB data that's being used in new-style 
picture objects?

The documentation for 
Picture.CopyARGBtoMemoryblockMBS(destination as memoryblock, offset as integer, 
LittleEndian as boolean, AlphaValue as integer) as boolean

suggests that it does not copy the alpha channel at all.


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


[MBS] [ANN] 13.0pr3

2012-12-16 Thread Christian Schmitz
Hi,

* Added Label.SetTextThreadSafeMBS, Progressbar.SetMaximumThreadSafeMBS, 
Progressbar.SetMinimumThreadSafeMBS, Progressbar.SetValueThreadSafeMBS, 
RectControl.SetEnabledThreadSafeMBS and RectControl.SetVisibleThreadSafeMBS.
* Added AudioPlayThruMBS.Volume and CAPlayThroughMBS.Volume properties.
* Added Mode parameter to SystemInformationMBS.ProcessorCount to query either 
logical or physical cores.
* Added RecursionLimit and RecursionMaxLevel for DirectorySizeMBS class.
* Updated curl to version 7.28.1 on Mac OS X and Windows.

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

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


Re: [MBS] PillButton with disclosure triangle

2012-12-16 Thread Beatrix Willius
Sometimes the simplest ideas are the best. Yes, this works. Thanks!

On 16.12.2012, at 16:38, Christian Schmitz  
wrote:

> Well, how to put simply the ▼ sign on it as a character?



Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals

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


Re: [MBS] Determine # of CPU cores or hyperthreads?

2012-12-16 Thread Michael Diehr
Thanks!

I want to know the # of Cores so I have an idea how many copies of a background 
helper app to launch.  1 for 2 cores, 2 for 3 cores, etc.

On Dec 15, 2012, at 3:06 PM, Christian Schmitz  
wrote:

> 
> Am 15.12.2012 um 23:25 schrieb Michael Diehr :
> 
>> Is there a way to determine either the # of actual CPU cores or # of virtual 
>> cores (in case the CPU has hyper threading?)
>> Desired on OS X and Win32.
>> 
> 
> A little thing: Added.
> 
> You can test with next prerelease.
> 
> Greetings
> Christian
> 
> -- 
> Read our blog about news on our plugins:
> 
> http://www.mbsplugins.de/
> 
> ___
> Mbsplugins_monkeybreadsoftware.info mailing list
> mbsplugins@monkeybreadsoftware.info
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

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


Re: [MBS] PillButton with disclosure triangle

2012-12-16 Thread Christian Schmitz

Am 16.12.2012 um 15:12 schrieb Beatrix Willius :

> Hi Christian,
> 
> what's the easiest way to make a Cocoa button in Pill style with a disclosure 
> triangle? I've got the Pill style with NSRoundRectBezelStyle. But how do I 
> get a disclosure triangle? The button is showing a menu. So a triangle would 
> be good.


Well, how to put simply the ▼ sign on it as a character?

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

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


Re: [MBS] Floating windows with windows OS

2012-12-16 Thread fqd
Le 16/12/2012 12:03, Christian Schmitz a écrit :
> Am 16.12.2012 um 11:52 schrieb fqd :
>
>> I might be unclear, sorry.
>>
>> I want to have this on Windows OS, avoiding windows parentage.
>>
>> So, how to do it on Windows ?
>
> Well, I tried this, but it doesn't really work here.
>
>declare function SetParent lib "User32.dll" (w1 as integer, w2 as integer) 
> as integer
>
>call setparent self.handle, 0
>
> Maybe you have more luck.
>
> Greetings
> Christian
>
Hold on, it's a bit more tricky...

I forget some points :
- no implicit instance of any window
- keep a property in App for the floating window
- open the floating window as soon as possible in App.Open, before any 
other window
- make it visible when needed, and don't close it before app is quitting

Otherwise, the floating windon get closed ;(

OMG, window OS suck one more time !

Not sure I will use this king of design, seems weak and risky.

Maybe when you have time to look deeper, Christian, it might be a good 
addition for a WindowMBS class ?





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


Re: [MBS] Floating windows with windows OS

2012-12-16 Thread fqd
Le 16/12/2012 12:03, Christian Schmitz a écrit :
> Am 16.12.2012 um 11:52 schrieb fqd :
>
>> I might be unclear, sorry.
>>
>> I want to have this on Windows OS, avoiding windows parentage.
>>
>> So, how to do it on Windows ?
>
> Well, I tried this, but it doesn't really work here.
>
>declare function SetParent lib "User32.dll" (w1 as integer, w2 as integer) 
> as integer
>
>call setparent self.handle, 0
>
> Maybe you have more luck.
>
> Greetings
> Christian
>

Thanks Christian.

I did a quick test with a very simple projet on Win XP , 7 and 8.
Seems to be enought to prevent the floating windows to close after 
closing the main window.

Have to check now with a much more complicated project.

Cheers,
Fred

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


[MBS] PillButton with disclosure triangle

2012-12-16 Thread Beatrix Willius
Hi Christian,

what's the easiest way to make a Cocoa button in Pill style with a disclosure 
triangle? I've got the Pill style with NSRoundRectBezelStyle. But how do I get 
a disclosure triangle? The button is showing a menu. So a triangle would be 
good.

Using Real Studio 2011r4, Mac OS 10.8, MBS 12.5 (build 17625), Cocoa.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals

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


Re: [MBS] Floating windows with windows OS

2012-12-16 Thread Christian Schmitz

Am 16.12.2012 um 11:52 schrieb fqd :

> I might be unclear, sorry.
> 
> I want to have this on Windows OS, avoiding windows parentage.
> 
> So, how to do it on Windows ?


Well, I tried this, but it doesn't really work here.

  declare function SetParent lib "User32.dll" (w1 as integer, w2 as integer) as 
integer
  
  call setparent self.handle, 0
  
Maybe you have more luck.

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

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


Re: [MBS] Floating windows with windows OS

2012-12-16 Thread fqd
Le 16/12/2012 11:49, Christian Schmitz a écrit :
> Am 16.12.2012 um 11:44 schrieb fqd :
>
>> Greetings All,
>>
>> I see that floating window behavior with windows OS is completely
>> different than on MacOS.
>>
>> I suppose this due to Window parentage concept.
>>
>> Is there any way to have same behavior than on Mac with MBS ?
> What behavior do you miss on Mac?
>
>> For example, after opening a floating window in front of a document
>> window, keeping the floating window opened even when the Document window
>> is closed.
>
> Well, that should be possible on Mac already.


I might be unclear, sorry.

I want to have this on Windows OS, avoiding windows parentage.

So, how to do it on Windows ?

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


Re: [MBS] Floating windows with windows OS

2012-12-16 Thread Christian Schmitz

Am 16.12.2012 um 11:44 schrieb fqd :

> Greetings All,
> 
> I see that floating window behavior with windows OS is completely 
> different than on MacOS.
> 
> I suppose this due to Window parentage concept.
> 
> Is there any way to have same behavior than on Mac with MBS ?

What behavior do you miss on Mac?

> For example, after opening a floating window in front of a document 
> window, keeping the floating window opened even when the Document window 
> is closed.


Well, that should be possible on Mac already.

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

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


[MBS] Floating windows with windows OS

2012-12-16 Thread fqd
Greetings All,

I see that floating window behavior with windows OS is completely 
different than on MacOS.

I suppose this due to Window parentage concept.

Is there any way to have same behavior than on Mac with MBS ?

For example, after opening a floating window in front of a document 
window, keeping the floating window opened even when the Document window 
is closed.

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