commctrl.h???

This is a discussion on commctrl.h??? within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I'm trying to use the BTNS_SHOWTEXT on a toolbar. However, I keep getting an undeclared identifier error. I'm guessing ...

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    44

    commctrl.h???

    Hi,

    I'm trying to use the BTNS_SHOWTEXT on a toolbar. However, I keep getting an undeclared identifier error. I'm guessing its something to do with the version, although I don't know. I'm using WinXP, as I think that makes a difference?

    Thanks
    Uni

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    You probably have an old version of the headers....

    Download the Base platform SDK from Microsoft.....set your compiler's directory paths to the relevant folders and you will get the new stuff when you code.

    The download works with VC++....havent tried with any other compiler

  3. #3
    Registered User
    Join Date
    May 2003
    Posts
    44
    Hi,

    Thanks for your quick reply!...erm is there any chance you could point me to a link as I'm not fully sure what I'm looking for. I've tried the microsoft site, I've done a search from the msdn site, in the "code and download" section and it came up with the following results:

    http://search.microsoft.com/default....&siteid=us/dev


    Thank you very much,
    Uni

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789

  5. #5
    Registered User
    Join Date
    May 2003
    Posts
    44
    THANK YOU!!!

  6. #6
    Registered User
    Join Date
    May 2003
    Posts
    44
    ack...got a slight problem

    I've pointed the compiler to the new libraries and took out the old ones, however, it complains it can't find simple things like:

    iostream.h

    which are not in the new SDK library...???


    Any ideas,
    Thanks,
    Uni

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Dont remover the older ones....just put the sdk paths first..

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