The window open animation

  • Thread starter Thread starter Jeffrey.M.Newman
  • Start date Start date
J

Jeffrey.M.Newman

Does anyone know what triggers the window open animation? It's that
expanding rectangle the you see right before a form is made visible.
It seems that if a form does not have a parent or owner specified, it
will appear. Otherwise, it doesn't. The same thing occurs for the
window closing animation.

I'm guessing there's some message that is sent to the parent control
if one exists, and otherwise windows handles it like it does any other
window. Any help would be greatly appreciated.
 
Does anyone know what triggers the window open animation? It's that
expanding rectangle the you see right before a form is made visible.
It seems that if a form does not have a parent or owner specified, it
will appear. Otherwise, it doesn't. The same thing occurs for the
window closing animation.

I'm guessing there's some message that is sent to the parent control
if one exists, and otherwise windows handles it like it does any other
window. Any help would be greatly appreciated.

I'm thinking maybe this is device specific behavior, so I figured I'd
clarify that I am seeing this on Win CE 4.2, running on a pocket PC.
Any information would be a big help.
 
What triggers it is a the creation of a new window (top-level), as you
surmised? What's the real question? You must want to know for some reason?
Turn it off? Set the extended window style to include WS_EX_NOANIMATION...

Paul T.
 
What triggers it is a the creation of a new window (top-level), as you
surmised? What's the real question? You must want to know for some reason?
Turn it off? Set the extended window style to include WS_EX_NOANIMATION...

Paul T.

Sorry, I should have been more specific - I'm looking for the
opposite. I want a window which is both a child window, and opens /
closes with the exploding / imploding rectangles. After the
WS_EX_NOANIMATION tip, I looked to see if the window has that property
set before it is shown, but it does not. (It's extended style is 0).
 
You'll have to do the animation yourself, maybe in WM_CREATE or the
constructor for the form. The system code completely ignores any child
window when doing the animation.

Paul T.
 
You'll have to do the animation yourself, maybe in WM_CREATE or the
constructor for the form. The system code completely ignores any child
window when doing the animation.

Paul T.

Ah well, I was hoping there was an easier way. Thanks :)
 
Back
Top