C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 24th, 2005, 09:37 PM
ubergeek ubergeek is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2005
Posts: 600 ubergeek User rank is Private First Class (20 - 50 Reputation Level)ubergeek User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 22 h 40 m 27 sec
Reputation Power: 4
Send a message via AIM to ubergeek
Angry help with animatewindow()

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/animatewindow.asp

this is the msdn article on the windows api function AnimateWindow(). it claims to be "defined in winuser.h, include windows.h" (scroll all the way down), but when i attempt to compile the attached program, AnimateWindow(), AW_ACTIVATE, and, AW_HIDE are apparently undefined. perhaps i have an old version of windows.h or winuser.h? i am using dev-c++ beta 5. can someone help, either what am i doing wrong or where can i get an updated version of these all-important header file(s).

thanks in advance

EDIT: upon examining my windows.h and winuser.h files, i have determined that AnimateWindow(), AW_HIDE, and AW_ACTIVATE are all defined. if anyone is interested, those header files are now attached as well (note winuser.h is zipped because it is too large to upload uncompressed). (dev-c++ is free, so i shouldn't be breaking any laws by doing this, someone tell me if i am and i will immediately remove the files)
Attached Files
File Type: txt winprog.cpp.txt (3.7 KB, 334 views)
File Type: txt windows.h.txt (2.8 KB, 395 views)
File Type: zip winuser.h.zip (29.6 KB, 269 views)

Last edited by ubergeek : January 24th, 2005 at 09:51 PM. Reason: have updated information

Reply With Quote
  #2  
Old January 25th, 2005, 05:21 PM
ubergeek ubergeek is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2005
Posts: 600 ubergeek User rank is Private First Class (20 - 50 Reputation Level)ubergeek User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 22 h 40 m 27 sec
Reputation Power: 4
Send a message via AIM to ubergeek
Talking nevermind

found the answer

i needed to #define WINVER and _WIN32_WINNT

(http://www.gidforums.com/showthread.php?p=22326)

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > help with animatewindow()


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway