Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

toolbars

using the std windows toolbar I get buttons that are 3d (don't know the propper way to describe it in english). I have seen in some apps that they use a toolbar with flat buttons, when you move the cursor over it it pops up...Is this a custom toolbar or am I just missing something. I have checked the manual but I can not find a way to alter the sdt toolbar.
0
sa9813
Asked:
sa9813
  • 2
  • 2
1 Solution
 
ScottyDawgCommented:
you need to set the toolbar style TBSTYLE_FLAT to get thisto work.
0
 
sa9813Author Commented:
I  can find no such style in commctrl.h...
0
 
abancroftCommented:
It's there in VC++ 6. Here's the code snippet:
#if (_WIN32_IE >= 0x0300)
#define TBSTYLE_FLAT            0x0800
#define TBSTYLE_LIST            0x1000
#define TBSTYLE_CUSTOMERASE     0x2000
#endif

What compiler & version are you using?
0
 
sa9813Author Commented:
I'm using borland c++5.0. I'm using this compiler from my school, i suppose they have not upgraded the sdk headers!? Maybe this have nothing to do with it!?
0
 
abancroftCommented:
Sounds like the headers are out of date. Another possibility is that the symbol is being undefined by another header.

You can always download the SDK from www.Microsoft.com.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now