Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Help with VC++ AnimateWindow

Posted on 2000-04-15
4
Medium Priority
?
395 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

610 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