Menu

Problem getting windows toolbar to be flat

2002-12-03
2012-09-26
  • Nobody/Anonymous

    I can make a program with toolbar, it compiles and works. When I try and use the flat style the compiler gives me an error.

    I included <commctrl.h> and linked with libcomctl32.a.

    The error is ICC_BAR_CLASSES and TBSTYLE_FLAT are undeclared.

    Am I missing some header or something?

     
    • Nobody/Anonymous

      Download the borland command line tools. Every time you are missing a macro like this, just search the borland headers for it and copy it down into one of your project headers =)

      Kip

       
    • Nobody/Anonymous

      They are not macros. It looks like to me that TBSTYLE_FLAT should be defined because of what this says http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/toolbar/styles.asp

       
    • Nobody/Anonymous

      No one knows?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.