-
add: a problem when using "SendMessage" to retrieve the number of the buttons on toolbar
when retrieving the caption of command button on the toolbar ,the ID of button
must be set to wParam parameter of API "sendmessage",
ie . wParam =idbutton, according to SDK document.
how can i get the IDbutton if i add two button on toolbar by its property
dialog box?
IDbutton = what???????????
##############################################################
Str=Space$(256)
throw = SendMessage(GetWindow(Toolbar1.hwnd, GW_CHILD),_ TB_GETBUTTONTEXTW,IDbutton,Str)
##############################################################
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks