Page 1 of 1

Annoying Systemwindow Issue with Windowshape

Posted: Tue Aug 27, 2013 5:38 am
by ThatOneGuy
Changing the windowshape of a stack sets the systemwindow property to false. It should NOT do that!
I have a program that changes windowshape every 100 millisecs. This issue is a serious problem.

I tried using: if the systemwindow of this stack is false then set the systemwindow of this stack to true

This causes the stack to flicker incessantly and is hardly a solution.
I already tried to lock and unlock the screen and lock and unlock messages. Those did nothing.

Is there any way of keeping systemwindow active after changing the shape of the window?

Re: Annoying Systemwindow Issue with Windowshape

Posted: Tue Aug 27, 2013 5:54 am
by ThatOneGuy
Nevermind. I've figured it out already.

Code: Select all

on focusout
   set the systemwindow of this stack to true
end focusout

Re: Annoying Systemwindow Issue with Windowshape

Posted: Tue Aug 27, 2013 3:14 pm
by FourthWorld
Good catch. There are a handful of cases where the LC engine reverts objects to default values for some properties when setting others. With things like the listBehavior with fields it's usually what we want, but I wonder if this one could be altered in the engine to allow the systemWindow to remain as-is when changing the windowShape.