网站首页  词典首页

请输入您要查询的函数:

 

术语 cascadewindows
释义 CascadeWindows
语法:
WORD CascadeWindows( HWND hwndParent,
UINT wHow,
const RECT *lpRect,
UINT cKids,
const HWND *lpKids
);
CascadeWindows Function
该CascadeWindows功能级联指定的父窗口指定的子窗口。
参数
hwndParent
[in]句柄父窗口。如果该参数为NULL,则桌面窗口假设。
wHow
[in]指定级联标志。此参数可以是一个或多个下列值。
MDITILE_SKIPDISABLED
防止残疾多文档界面(MDI)子窗口被级联。
MDITILE_ZORDER
视窗2000/XP的:Z顺序排列在窗口。如果此值未指定窗口安排在lpKids使用数组中指定的顺序。
lpRect
[in]指向一个RECT结构,指定矩形区域,在客户坐标,窗口内的安排。此参数可以为NULL,在这种情况下,父窗口客户区使用。
cKids
[in]指定由lpKids参数指定的数组元素的个数。此参数被忽略,如果lpKids为NULL。
lpKids
[in]指向一个句柄数组的子窗口安排。如果该参数为NULL,指定父窗口的所有子窗口(或桌面窗口)的安排。
返回值
如果函数成功,返回值是Windows的人数安排。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
默认情况下,CascadeWindows安排在由lpKids阵列所提供的命令窗口,但保留的z顺序。如果指定MDITILE_ZORDER标志,CascadeWindows在Z顺序排列的窗口。
调用CascadeWindows导致所有要恢复到以前的规模最大化的窗口。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 4.0
UnicodeImplemented为Unicode版本。
参见
视窗概述
==英文原文==CascadeWindows Function
The CascadeWindows function cascades the specified child windows of the specified parent window.
Syntax
WORD CascadeWindows( HWND hwndParent,
UINT wHow,
const RECT *lpRect,
UINT cKids,
const HWND *lpKids
);
Parameters
hwndParent
[in] Handle to the parent window. If this parameter is NULL, the desktop window is assumed.
wHow
[in] Specifies a cascade flag. This parameter can be one or more of the following values.
MDITILE_SKIPDISABLED
Prevents disabled multiple-document interface (MDI) child windows from being cascaded.
MDITILE_ZORDER
Windows 2000/XP: Arranges the windows in Z order. If this value is not specified, the windows are arranged using the order specified in the lpKids array.
lpRect
[in] Pointer to a RECT structure that specifies the rectangular area, in client 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
[in] Specifies the number of elements in the array specified by the lpKids parameter. This parameter is ignored if lpKids is NULL.
lpKids
[in] Pointer to an array of handles to the child windows to arrange. If this parameter is NULL, all child windows of the specified parent window (or of the desktop window) are arranged.
Return Value
If the function succeeds, the return value is the number of windows arranged.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
By default, CascadeWindows arranges the windows in the order provided by the lpKids array, but preserves the Z-Order . If you specify the MDITILE_ZORDER flag, CascadeWindows arranges the windows in Z order.
Calling CascadeWindows causes all maximized windows to be restored to their previous size.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 4.0
UnicodeImplemented as Unicode version.
See Also
Windows Overview
==原始网址==http://msdn.microsoft.com/en-us/library/ms632674(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:24:00