Solved

Toolbar

Posted on 1998-06-18
2
360 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
[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 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

739 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