RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWindowMinimizeAll Class

TWindowMinimizeAll minimizes all MDI child forms.

Pascal
TWindowMinimizeAll = class(TWindowAction);
C++
class TWindowMinimizeAll : public TWindowAction;

StdActns

Add TWindowMinimizeAll to an action list to allow users to minimize the MDI child forms in an MDI application. Controls such as menu items and tool buttons linked to this action cause the application to iterate through the MDI child forms, setting their WindowState to wsMinimized. 

TWindowMinimizeAll is designed to work with an MDI parent form as a target. It automatically disables itself if the active form is not an MDI parent or if it has no MDI children. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!