Solved

Help with VC++ AnimateWindow

Posted on 2000-04-15
4
381 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
ID: 2719761
#define WINVER  0x0500
#include <windows.h>

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

Author Comment

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

Expert Comment

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

Author Comment

by:Toad224
ID: 2724619
Thank you very much...
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

831 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