网站首页  词典首页

请输入您要查询的函数:

 

术语 drawanimatedrects
释义 DrawAnimatedRects
语法:
BOOL DrawAnimatedRects(
__in HWND hwnd,
__in int idAni,
const RECT *lprcFrom,
const RECT *lprcTo
);
DrawAnimatedRects功能
富有活力的窗口标题显示一个图标或尽量减少或打开一个窗口最大化。
参数
hwnd [in]
一个句柄,的标题应该是在屏幕上的动画窗口。该动画将被剪裁到本窗口的父。
idAni [in]
动画的类型。这必须IDANI_CAPTION。随着IDANI_CAPTION动画类型,窗口标题将动画由lprcFrom由lprcTo指定的位置指定的位置。效果是类似的最小化或最大化窗口。
lprcFrom
一个 RECT结构的指针指定的位置和图标或最小化的窗口大小。坐标是相对于裁剪窗口的HWND。
lprcTo
一个 RECT结构的指针指定的位置和恢复窗口的大小。坐标是相对于裁剪窗口的HWND。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
绘画和绘图概述
绘画和绘图功能
RECT
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==DrawAnimatedRects Function
Animates the caption of a window to indicate the opening of an icon or the minimizing or maximizing of a window.
Syntax
BOOL DrawAnimatedRects(
__in HWND hwnd,
__in int idAni,
const RECT *lprcFrom,
const RECT *lprcTo
);
Parameters
hwnd [in]
A handle to the window whose caption should be animated on the screen. The animation will be clipped to the parent of this window.
idAni [in]
The type of animation. This must be IDANI_CAPTION. With the IDANI_CAPTION animation type, the window caption will animate from the position specified by lprcFrom to the position specified by lprcTo. The effect is similar to minimizing or maximizing a window.
lprcFrom
A pointer to a RECT structure specifying the location and size of the icon or minimized window. Coordinates are relative to the clipping window hwnd.
lprcTo
A pointer to a RECT structure specifying the location and size of the restored window. Coordinates are relative to the clipping window hwnd.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
Painting and Drawing Overview
Painting and Drawing Functions
RECT
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162475(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:27:17