[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 399
  • Last Modified:

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.
0
Toad224
Asked:
Toad224
  • 2
  • 2
1 Solution
 
chensuCommented:
#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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now