|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
CascadeWindows
[Now Supported on Windows NT]
The CascadeWindows function cascades the specified windows or the child windows of the specified
parent window.
WORD WINAPI CascadeWindows(
HWND hwndParent,
| // handle to parent window
| UINT wHow,
| // types of windows not to arrange
| CONST RECT *lpRect,
| // rectangle to arrange windows in
| UINT cKids,
| // number of windows to arrange
| const HWND FAR *lpKids
| // array of window handles
| );
|
|
Parameters
hwndParent
Identifies the parent window. If this parameter is NULL, the desktop window is
assumed.
wHow
Specifies a cascade flag. The only flag currently available,
MDITILE_SKIPDISABLED, prevents disabled MDI child windows from being cascaded.
lpRect
Pointer to a SMALL_RECT structure that specifies the rectangular area, in screen coordinates, within
which the windows are arranged. This parameter can be NULL, in which case the
client area of the parent window is used.
cKids
Specifies the number of elements in the array specified by the lpKids parameter. This parameter is ignored if lpKids is NULL.
lpKids
Pointer to an array of window handles identifying the windows to arrange. If
this parameter is NULL, the child windows of the specified parent window (or of
the desktop window) are arranged.
Return Values
If the function succeeds, the return value is the number of windows arranged.
If the function fails, the return value is zero.
See Also
SMALL_RECT
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|