Solved

Toolbar

Posted on 1998-06-18
2
330 Views
Last Modified: 2010-05-03
Where can I get the Toolbar's and the Rebar's Messages value (e.g. TB_ADDSTRING = ? , RB_INSERTBANDA = ? ,and so on)? Don't tell me try at www.microsoft.com/msdn or www.microsoft.com/win32dev because from there I can't find anything what I want.
I use SendMessage funtion to let my toolbar have the flat style (SendMessage(ToolbarHandle, TB_SETSTYLE, 0, Style)),
but I also want my toolbar can change their button's image color when the user's cursor hovers over them and each button can display a string. How can I do it?
Thank you!
0
Comment
Question by:gardenia
2 Comments
 
LVL 7

Accepted Solution

by:
tward earned 40 total points
ID: 1463761
I have Visual C/C++ here and found them in COMMCTRL.H:

Public Const WM_USER = &H400

Public Const TB_ADDSTRING = (WM_USER + 28)
Public Const RB_INSERTBANDA = (WM_USER + 1)

I can include a more complete list as a comment if you would like?

0
 

Author Comment

by:gardenia
ID: 1463762
Thank you tward.I have Visual C++ too,and I can find them by
myself.Thanks again.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 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

14 Experts available now in Live!

Get 1:1 Help Now