Re: [MBS] InvalidateShadow question

2011-09-13 Thread Christian Schmitz
Am 13.09.2011 um 14:55 schrieb Arnaud Nicolet: So, my code (method 1) currently does this, according to the steps quoted above: DisableScreenUpdatesMBS (disable updates) Create the CGImage (draw) how do you draw? Is this a window, an overlayWindowMBS, an OverlayMBS or a NSWindowMBS? And

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Arnaud Nicolet
Le 13 sept. 11 à 16:27, Christian Schmitz a écrit: Am 13.09.2011 um 14:55 schrieb Arnaud Nicolet: So, my code (method 1) currently does this, according to the steps quoted above: DisableScreenUpdatesMBS (disable updates) Create the CGImage (draw) how do you draw? Here's the draw method:

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Christian Schmitz
Am 13.09.2011 um 16:40 schrieb Arnaud Nicolet: c.drawPicture pict, CGMakeRectMBS(0, 0, pict.width, pict.height) so after this method you can call c.flush. And maybe also self.InvalidateShadowMBS Greetings Christian -- See you in Frankfurt, Germany at the Real Studio Database Days More

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Arnaud Nicolet
Le 13 sept. 11 à 17:01, Christian Schmitz a écrit: Am 13.09.2011 um 16:40 schrieb Arnaud Nicolet: c.drawPicture pict, CGMakeRectMBS(0, 0, pict.width, pict.height) so after this method you can call c.flush. And maybe also self.InvalidateShadowMBS Ok, but then from my method 1 (the

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Christian Schmitz
Am 13.09.2011 um 17:28 schrieb Arnaud Nicolet: Ok, we may give up about this, but there's still the InvalidateShadow that seems broken. Can you send me a test project off list? Greetings Christian -- See you in Frankfurt, Germany at the Real Studio Database Days More details and

[MBS] Re: WindowsMidi Under Win 7

2011-09-13 Thread Julia Truchsess
OK, it was easy. Under XP the Windows generic driver for class-compliant devices reports only USB Audio Device in the WindowsMidiInputInfoMBS.Name property. Under Win 7 it reports (correctly) the name of the device as provided in the device's descriptors. Now I changed my app to look for either

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Christian Schmitz
Hi, seems like you need to call self.InvalidateShadowMBS in the paint event after flush. 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

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Arnaud Nicolet
Le 13 sept. 11 à 21:13, Christian Schmitz a écrit: seems like you need to call self.InvalidateShadowMBS in the paint event after flush. Indeed, that does the trick! Things aren't always trivial outside of pure RB code ;-) Thank you! ___