error C2065: 'WS_EX_NOACTIVATE' : undeclared identifier

Discussion in 'Win32' started by vidhya, Jun 5, 2007.

  1. vidhya

    vidhya New Member

    Joined:
    May 17, 2007
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    0
    i got the above error when executing the program . i included the header file winuser.h i want to know what is the problem.
     
  2. go4expert

    go4expert Moderator

    Joined:
    Aug 3, 2004
    Messages:
    306
    Likes Received:
    9
    Trophy Points:
    0
    Its defined when you have the Windows version higher than 5.0

    Code:
    #if(_WIN32_WINNT >= 0x0500)
    #define WS_EX_COMPOSITED        0x02000000L
    #define WS_EX_NOACTIVATE        0x08000000L
    #endif /* _WIN32_WINNT >= 0x0500 */
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice