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.
sa9813Asked:
Who is Participating?
 
abancroftConnect With a Mentor Commented:
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
 
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
All Courses

From novice to tech pro — start learning today.