Solved

How do I create a flat Toolbar in VC with Win32 ?

Posted on 2001-08-28
3
274 Views
Last Modified: 2013-12-03
Hi,
 How do I create a flat Toolbar in VC using Win32, like the one's you see in any MS Apps.

Kind Regards,
Natarajan.
0
Comment
Question by:T_Natarajan
  • 3
3 Comments
 
LVL 2

Accepted Solution

by:
egsemsem earned 5 total points
Comment Utility
Try this:

Style = SendTBMessage(ToolbarHandle, TB_GETSTYLE, 0, 0);
  Style = TBSTYLE_FLAT | TBSTYLE_TRANSPARENT ;
  lRet = SendTBMessage(ToolbarHandle, TB_SETSTYLE, 0, Style);
0
 
LVL 2

Expert Comment

by:egsemsem
Comment Utility
Sorry replace SendTBMessage with ordinary API SendMessage function
0
 
LVL 2

Expert Comment

by:egsemsem
Comment Utility
and don't forget to set the toolbar control's style property to tbrFlat
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now