Board index » cppbuilder » WindowMenu in MDI Application
SVC
![]() CBuilder Developer |
SVC
![]() CBuilder Developer |
WindowMenu in MDI Application2004-10-28 11:31:32 AM cppbuilder96 I have a MDI Application. How can I disable the feature to add at run time child windows' caption in the WindowMenu? S. |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
2004-10-28 03:28:21 PM
Re:WindowMenu in MDI Application
"SVC" < XXXX@XXXXX.COM >wrote in message
QuoteHow can I disable the feature to add at run time |
SVC
![]() CBuilder Developer |
2004-10-28 08:00:14 PM
Re:WindowMenu in MDI Application
I would like to keep the "cascade, Tile Horiz, Tile Verti, Minimize All and
Arrange All" items but disable the feature to add at run time newly created child windows' captions. S. "Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message Quote
{smallsort} |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
2004-10-29 12:20:13 AM
Re:WindowMenu in MDI Application
"SVC" < XXXX@XXXXX.COM >wrote in message
QuoteI would like to keep the "cascade, Tile Horiz, Tile Verti, Minimize To do what you are asking, you will just have to not assign the WindowMenu at all, and then implement those particular items manually. TForm has Cascade(), Tile(), and ArrangeIcons() methods that you can call from your own menu items. As for Minimize All, you will have to implement that one manually by looping through the child windows one at a time setting their WindowState property to wsMinimized. There is no MinimizeAll() method available. Gambit |