Re: flashing window when changing stack window properties

2003-09-29 Thread J. Landman Gay
On 9/29/03 3:07 PM, Dar Scott wrote:

This script segment causes the window to flash.

  lock screen
  set the resizable of me to true
  set the width of me to 310
  set the height of me to 270
  set the cantModify of me to false
  set the style of me to "topLevel"
  set the decorations of me to "default"
  unlock screen
The flashing even happens in preOpenStack, which surprises me since the 
Transcript dictionary says it is executed before the stack window appears.

This also happens with with several variations of the above script.  
(Also the stack name shows up momentarily on the title bar even though 
there is a label in at least one variation.)

I saw workaround advice from Sarah back in April that suggested the 
changes can be made while the stack is invisible.  I will try this.  
Yet, because of the flashing I suspect I might be doing something wrong.

What is happening?  How do I get around this?
The flash happens whenever you set the decorations, which forces a 
window redraw. Not sure if there is a good workaround, since the OS is 
responsible for the drawing.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: flashing window when changing stack window properties

2003-09-29 Thread Dar Scott
On Monday, September 29, 2003, at 02:30 PM, J. Landman Gay wrote:

The flash happens whenever you set the decorations, which forces a 
window redraw. Not sure if there is a good workaround, since the OS is 
responsible for the drawing.
I get three or four flashes.  I need to see if setting the decorations 
cause all or whether the other sets also cause this.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: flashing window when changing stack window properties

2003-09-29 Thread Dar Scott
On Monday, September 29, 2003, at 02:14 PM, Richard Gaskin wrote:

Have you tried it without setting the style of the stack?
I'll test that.  Doesn't the decorations have to come after the style?

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: flashing window when changing stack window properties

2003-09-29 Thread Tuviah Snyder
> I saw workaround advice from Sarah back in April that suggested the
> changes can be made while the stack is invisible.  I will try this.
> Yet, because of the flashing I suspect I might be doing something wrong.
>
> What is happening?  How do I get around this?
The flash happens because Revolution needs to recreate the window and then
redraw with the new decorations.

Tuviah Snyder <[EMAIL PROTECTED]> 
Runtime Revolution Limited - Software at the Speed of Thought

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution