Solved

Help with VC++ AnimateWindow

Posted on 2000-04-15
4
375 Views
Last Modified: 2010-05-18
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
Comment
Question by:Toad224
  • 2
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 25 total points
Comment Utility
#define WINVER  0x0500
#include <windows.h>

AnimateWindow is supported on Windows 2000 and Windows 98 or later.
0
 
LVL 1

Author Comment

by:Toad224
Comment Utility
I have Win '98, but my compiler doesn't recognize that AnimateWindow is defined.
0
 
LVL 23

Expert Comment

by:chensu
Comment Utility
You need to define WINVER as 0x0500. Have you done that?
0
 
LVL 1

Author Comment

by:Toad224
Comment Utility
Thank you very much...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now