By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,687 Members | 2,046 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,687 IT Pros & Developers. It's quick & easy.

Geting information about toolbars

P: n/a
I have a C# application that I want to enumerate all of current toolbars for
an application and i am having trouble writing some of the API calls.
I try to get the number of buttons on the current toolbar using
j = User32.SendMessage(wi.Handle,(int)WindowsMessages. TB_BUTTONCOUNT,0,0)
That only seems to work on some toolbars, for instance all MS office
toolbars return 0, but my real problem is figureing out how to create a
TBButton Structure
in C# and then creating a pointer to it so i can use it with TB_GETBUTTON
and get all of the button information.

Thanks in advance for any help,

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.