Solved

toolbars

Posted on 2000-02-20
5
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files 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.

628 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