WindowList tool property


06-26-2009, 4:24 AM
Hi,
How can I get tool.Caption property which created with WindowList tool.
- Maximum -
I want enumerate all opened MDI windows and change its caption in WindowList tools.
- Minimum -
I want enumerate all opened MDI windows and get their captions

Thanks

Re: WindowList tool property


06-26-2009, 7:33 AM
zazaturman,

ActiveBar provides a WindowList tool type that automatically detects open document windows and creates a new internal list item for each. Clicking on the list item brings focus to the proper document. Items captions are the same as opened child windows captions and you cannot change items list caption (they'll change automatically if you'd change child window caption). WindowList tool type allow you to switch between windows but not to change their captions, etc.

Thank you,
Andrey T.

Re: WindowList tool property


06-26-2009, 8:00 AM
How can I get this WindowList tool internal list items? I want create my own list with different captions. I have multi language programm

Re: WindowList tool property


06-26-2009, 8:16 AM
zazaturman,

Unfortunately this is not a feature that the WindowList offers. The way to achieve the results you are looking for would be to simulate the ActiveBar window list feature by dynamically adding/removing tools to/from a toolbar. I have attached a small running sample that should help demonstrate this approach.

Thank you,
Andrey T.