 |
DrawAnimatedRects ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The DrawAnimatedRects function draws a wire-frame rectangle and animates it to indicate the opening of an icon or the minimizing or maximizing of a window. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL DrawAnimatedRects(
HWND hwnd, // handle to clipping window
int idAni, // type of animation
CONST RECT *lprcFrom, // rectangle coordinates (minimized)
CONST RECT *lprcTo // rectangle coordinates (restored)
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER DrawAnimatedRects IN user32;
INTEGER hwnd,;
INTEGER idAni,;
STRING @ lprcFrom,;
STRING @ lprcTo
|
 |
 |
 |
| Parameters: |
 |
hwnd
[in] Handle to the window to which the rectangle is clipped. If this parameter is NULL, the working area of the screen is used.
idAni
[in] Specifies the type of animation. If you specify IDANI_CAPTION, the window caption will animate from the position specified by lprcFrom to the position specified by lprcTo.
lprcFrom
[in] 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
[in] 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. |
 |
 |
| Word Index links for the DrawAnimatedRects : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-01-17 19:56:46 | | Modified: | 2002-01-17 19:58:20 | Visited in last 7 days: 15 |