AnimateWindow in C#

  • Thread starter Thread starter Nuno Esculcas
  • Start date Start date
N

Nuno Esculcas

Hello,

Just a simple question from a old programer of C++ :)

I'm a new in C# and i want to make some simple animations like i do
in C++, like this:

::AnimateWindow(m_hMyWnd, 200, (((m_bWndShow)?
AW_BLEND:AW_BLEND|AW_HIDE) ) );

My question is if there is something like this, any similiar function
in C#, or i have to do platform invokes to call the Win32
AnimateWindo?

Thanks
Nuno
 
Nuno Esculcas said:
::AnimateWindow(m_hMyWnd, 200, (((m_bWndShow)?
AW_BLEND:AW_BLEND|AW_HIDE) ) );

My question is if there is something like this, any similiar function
in C#, or i have to do platform invokes to call the Win32
AnimateWindow?


AFAIK this API is not wrapped within the fx so I'm afraid you'll have to
resort to p/invoke.
 
Back
Top