_win32_ie

This is a discussion on _win32_ie within the Windows Programming forums, part of the Platform Specific Boards category; OK. I have downloaded the latest Platform Sdk for XP SP2, and installed XP SP2. I use Visual studio.net. I ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    329

    _win32_ie

    OK.
    I have downloaded the latest Platform Sdk for XP SP2, and installed XP SP2. I use Visual studio.net.

    I still can't, however, use balloon tips. The compiler still says that the NOTIFYICONDATA struct doesn't contain the correct members.

    I tried to check the _WIN32_IE declare, and it says 0x501, so i included the following code, with the result that it works:
    Code:
    #ifdef _WIN32_IE
    #undef _WIN32_IE
    #define _WIN32_IE 0x0600
    #else
    #define _WIN32_IE 0x0600
    #endif
    Do i have to include the following code in all source files that use the balloon tips?

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Weird, I thought I just posted a reply to this...

    Anyway...

    Apply it to the application as a whole in the project settings/properties, in the c++ preprocessor field.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    Didn't work, but thanks for the reply anyway..
    I can make it work by including the defin in all related sourcefiles.

  4. #4
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Quote Originally Posted by knutso
    Didn't work, but thanks for the reply anyway..
    How did you define it? It should be fine as _WIN32_IE=0x0600.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  5. #5
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    Woohaa!!
    Thanks, it worked now..
    I just pasted the whole #ifdef...#endif the first time

    I didn't know that you could create global preprocessor defines in this way...Guess i'll have easier debugging from now on...

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21