Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can get a button's name by EnumChildWindows and GetWindowText method. Is there a way to get tooltip's text of a button?
Solved! Go to Solution.
I can get a button's name by EnumChildWindows and GetWindowText method. Is there a way to get tooltip's text of a button?
Solved! Go to Solution.
You can access this information using functionality from AdWindows.dll. This Autodesk UI DLL is supported for AutoCAD.NET, afaik, but not officially for Revit, afaik. Still, it works and does its thing. The Translate Revit Tooltips application demonstrates its use to both read and write all the Revit tooltips:
https://thebuildingcoder.typepad.com/blog/2011/07/translate-revit-tooltips.html
Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open