Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-02 Thread Christian Schmitz
Am 02.06.2011 um 18:21 schrieb Michael Diehr: > To confirm: is it true that OverlayMBS internally uses an NSWindow? Is that > true in both Carbon and Cocoa builds? Only on Cocoa. > If so, I would prefer to just move my code to OverlayMBS for all targets. :-) Greetings Christian -- Read ou

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-02 Thread Michael Diehr
On Jun 2, 2011, at 9:13 AM, Christian Schmitz wrote: > > Am 02.06.2011 um 18:05 schrieb Michael Diehr: > >> Question: is it possible with the REALbasic window class to draw >> transparent background colors (e.g. to use an alpha value in the >> window.paint or canvas.paint event) ? If so, I c

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-02 Thread Christian Schmitz
Am 02.06.2011 um 18:05 schrieb Michael Diehr: > Question: is it possible with the REALbasic window class to draw transparent > background colors (e.g. to use an alpha value in the window.paint or > canvas.paint event) ? If so, I could even use a normal realbasic window... Well, in Carbon: ye

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-02 Thread Michael Diehr
On Jun 2, 2011, at 3:35 AM, Christian Schmitz wrote: > > Am 02.06.2011 um 00:28 schrieb Michael Diehr: > >>> Christian, it seems that using these calls it should be fairly easy to >>> update OverlayWindowMBS.AttachToWindow to work in Cocoa, no? > > Well, I add those child window methods to NSW

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-02 Thread Christian Schmitz
Am 02.06.2011 um 00:28 schrieb Michael Diehr: >> Christian, it seems that using these calls it should be fairly easy to >> update OverlayWindowMBS.AttachToWindow to work in Cocoa, no? Well, I add those child window methods to NSWindowMBS class. For an OverlayMBS you can get the NSWindowMBS obj

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-01 Thread Michael Diehr
On Jun 1, 2011, at 3:14 PM, Michael Diehr wrote: > On Jun 1, 2011, at 8:51 AM, Christian Schmitz wrote: > >> >> Am 01.06.2011 um 17:49 schrieb Michael Diehr: >> >>> * In Carbon, this works (with regular REALbasic window class): >> >> The WindowGroup API is what we use in Carbon. It does not wo

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-01 Thread Michael Diehr
On Jun 1, 2011, at 8:51 AM, Christian Schmitz wrote: > > Am 01.06.2011 um 17:49 schrieb Michael Diehr: > >> * In Carbon, this works (with regular REALbasic window class): > > The WindowGroup API is what we use in Carbon. It does not work in Cocoa. > >> * It looks fairly easy to get notificatio

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-01 Thread Christian Schmitz
Am 01.06.2011 um 17:49 schrieb Michael Diehr: > * In Carbon, this works (with regular REALbasic window class): The WindowGroup API is what we use in Carbon. It does not work in Cocoa. > * It looks fairly easy to get notifications if another window moves using > NSWindowDidResizeNotification >

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-01 Thread Michael Diehr
On Jun 1, 2011, at 2:28 AM, Christian Schmitz wrote: > > Am 01.06.2011 um 01:57 schrieb Michael Diehr: > >> Hi Christian, >> >> Please see "Examples/Mac OS X/Overlay Window/Attached OverlayWindows.rbp". >> >> Attaching an overlay to another window does not work in Cocoa builds. Works >> in C

Re: [MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-06-01 Thread Christian Schmitz
Am 01.06.2011 um 01:57 schrieb Michael Diehr: > Hi Christian, > > Please see "Examples/Mac OS X/Overlay Window/Attached OverlayWindows.rbp". > > Attaching an overlay to another window does not work in Cocoa builds. Works > in Carbon. Well, the carbon concept of window groups seems not to exi

[MBS] OverlayWindowMBS.AttachToWindow broken in Cocoa

2011-05-31 Thread Michael Diehr
Hi Christian, Please see "Examples/Mac OS X/Overlay Window/Attached OverlayWindows.rbp". Attaching an overlay to another window does not work in Cocoa builds. Works in Carbon. Tested with RB2011R2B2 / MBS 11.2pr2 Any chance you can fix this? Thanks! _