Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Toolbar

Posted on 1998-06-18
2
Medium Priority
?
383 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 160 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

618 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