473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

AnimateWindow in C#

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
Nov 15 '05 #1
1 5162
"Nuno Esculcas" <ne*******@hotmail.com> wrote in message
news:38**************************@posting.google.c om...
::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.

--
Kevin Westhead
Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Nuno Esculcas | last post by:
Hello, Is there any special functionality in C# to make a blend transition between two images like the messager 6 do. If no, does any one now how its done? how the guys that implemented...
4
by: Nick | last post by:
I want to call and API function. And this is just an example, there are a lot of them that require flags. This one is from user32.dll BOOL AnimateWindow( HWND hwnd, DWORD dwTime, DWORD...
1
by: Tim | last post by:
Dear All, I have discovered, to my dismay, that the ShowDialog function will not function correctly when used with the AnimateWindow API. The owned form is opened behind the owning form on the...
0
by: Tom Sage via .NET 247 | last post by:
I am trying to display a Form (f2) using the AnimateWindow API. The Form animation works, but the text is shown on the Form AFTER the animation is done. Is there a way to put the text on the Form...
0
by: criscannon | last post by:
Hi, I need to something like a YM notification window that tells whether a user signs in or out. I am able to use animatewindow to show my form. however, whenever the form is shown, my parent...
0
by: Alexander Wehrli | last post by:
Hi all, Im using AnimateWindow API to animate a form that is owned by my main form. This owned form is user painted. The issue now is that while the window is beeing animated, no drawing...
1
by: Omega | last post by:
Bonjour, J'utilise la fonction AnimateWindow (une fonction de l'API user32.dll) et je ne comprend pas pourquoi l'animation marche bien, mais le fond de la fenetre reste sombre jusqu'a la fin de...
1
by: Omega | last post by:
i am using animatewindow api to animate the form on loading the problem is that during the animation the form becomes black. how can i display the form image during animation. normally it...
0
by: Omega | last post by:
Hi, In VB.Net I want ot use a function name AnimateWindow. At runtime my window is correctly animated but its background stays dark, the refresh doesn't seem to be done. I've read that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.