Help with VC++ AnimateWindow

I've been trying to use AnimateWindow();.  I have included the header file necessary to use it, however I still get a compiler error after using it in my code.  Please show me an example of it used using the appropriate header files.  I am using VC++ 6.0 SP3.
LVL 1
Toad224Asked:
Who is Participating?
 
chensuConnect With a Mentor Commented:
#define WINVER  0x0500
#include <windows.h>

AnimateWindow is supported on Windows 2000 and Windows 98 or later.
0
 
Toad224Author Commented:
I have Win '98, but my compiler doesn't recognize that AnimateWindow is defined.
0
 
chensuCommented:
You need to define WINVER as 0x0500. Have you done that?
0
 
Toad224Author Commented:
Thank you very much...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.