Solved

toolbars

Posted on 2000-02-20
5
302 Views
Last Modified: 2010-04-15
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
Comment
Question by:sa9813
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:ScottyDawg
ID: 2539510
you need to set the toolbar style TBSTYLE_FLAT to get thisto work.
0
 

Author Comment

by:sa9813
ID: 2544992
I  can find no such style in commctrl.h...
0
 
LVL 4

Expert Comment

by:abancroft
ID: 2547249
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
 

Author Comment

by:sa9813
ID: 2553335
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
 
LVL 4

Accepted Solution

by:
abancroft earned 20 total points
ID: 2554539
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

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Inorder binary search tree 5 173
List out all word 7 320
What's the Difference Between a VI, the Command Prompt and a Shell 7 124
Fill Null values 5 29
Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question