Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
db4aae22
Commit
db4aae22
authored
Jun 06, 2001
by
Bobby Bingham
Committed by
Alexandre Julliard
Jun 06, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub implementation of AnimateWindow().
parent
485c3ef0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
4 deletions
+42
-4
user32.spec
dlls/user/user32.spec
+4
-2
winuser.h
include/winuser.h
+14
-2
winpos.c
windows/winpos.c
+24
-0
No files found.
dlls/user/user32.spec
View file @
db4aae22
...
...
@@ -651,15 +651,17 @@ debug_channels (accel caret class clipboard combo cursor dc ddeml dialog driver
@ stdcall RegisterDeviceNotificationA(long ptr long) RegisterDeviceNotificationA
@ stub RegisterDeviceNotificationW
@ stub UnregisterDeviceNotification
# win98/win2k
@ stdcall GetClipboardSequenceNumber () GetClipboardSequenceNumber
@ stdcall AllowSetForegroundWindow (long) AllowSetForegroundWindow
@ stdcall
LockSetForegroundWindow (long) LockSetForeground
Window
@ stdcall
AnimateWindow(long long long) Animate
Window
@ stdcall DrawMenuBarTemp(long long) DrawMenuBarTemp
@ stdcall EnumDisplaySettingsExA(str long ptr long) EnumDisplaySettingsExA
@ stdcall EnumDisplaySettingsExW(wstr long ptr long) EnumDisplaySettingsExW
@ stdcall GetClipboardSequenceNumber () GetClipboardSequenceNumber
@ stdcall GetWindowModuleFileNameA(long ptr long) GetWindowModuleFileNameA
@ stdcall GetWindowModuleFileNameW(long ptr long) GetWindowModuleFileNameW
@ stdcall LockSetForegroundWindow (long) LockSetForegroundWindow
################################################################
# Wine extensions: Win16 functions that are needed by other dlls
...
...
include/winuser.h
View file @
db4aae22
...
...
@@ -2525,6 +2525,17 @@ DECL_WINELIB_TYPE_AW(LPICONMETRICS)
#define PM_REMOVE 0x0001
#define PM_NOYIELD 0x0002
/* AnimateWindow() flags */
#define AW_SLIDE 0x00040000
#define AW_ACTIVATE 0x00020000
#define AW_BLEND 0x00080000
#define AW_HIDE 0x00010000
#define AW_CENTER 0x00000010
#define AW_HOR_POSITIVE 0x00000001
#define AW_HOR_NEGATIVE 0x00000002
#define AW_VER_POSITIVE 0x00000004
#define AW_VER_NEGATIVE 0x00000008
/* WM_SHOWWINDOW wParam codes */
#define SW_PARENTCLOSING 1
#define SW_OTHERMAXIMIZED 2
...
...
@@ -3247,8 +3258,9 @@ BOOL WINAPI SetKeyboardState(LPBYTE);
/* Declarations for functions that change between Win16 and Win32 */
BOOL
WINAPI
AdjustWindowRect
(
LPRECT
,
DWORD
,
BOOL
);
BOOL
WINAPI
AdjustWindowRectEx
(
LPRECT
,
DWORD
,
BOOL
,
DWORD
);
BOOL
WINAPI
AdjustWindowRect
(
LPRECT
,
DWORD
,
BOOL
);
BOOL
WINAPI
AdjustWindowRectEx
(
LPRECT
,
DWORD
,
BOOL
,
DWORD
);
BOOL
WINAPI
AnimateWindow
(
HWND
,
DWORD
,
DWORD
);
#define AnsiLowerA CharLowerA
#define AnsiLowerW CharLowerW
#define AnsiLower WINELIB_NAME_AW(AnsiLower)
...
...
windows/winpos.c
View file @
db4aae22
...
...
@@ -1393,6 +1393,30 @@ void WINAPI SetInternalWindowPos16( HWND16 hwnd, UINT16 showCmd,
}
}
/***********************************************************************
* AnimateWindow (USER32.@)
* Shows/Hides a window with an animation
* NO ANIMATION YET
*/
BOOL
WINAPI
AnimateWindow
(
HWND
hwnd
,
DWORD
dwTime
,
DWORD
dwFlags
)
{
FIXME
(
"partial stub
\n
"
);
/* If trying to show/hide and it's already *
* shown/hidden or invalid window, fail with *
* invalid parameter */
if
(
!
IsWindow
(
hwnd
)
||
(
IsWindowVisible
(
hwnd
)
&&
!
(
dwFlags
&
AW_HIDE
))
||
(
!
IsWindowVisible
(
hwnd
)
&&
(
dwFlags
&
AW_HIDE
)))
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
ShowWindow
(
hwnd
,
(
dwFlags
&
AW_HIDE
)
?
SW_HIDE
:
((
dwFlags
&
AW_ACTIVATE
)
?
SW_SHOW
:
SW_SHOWNA
));
return
TRUE
;
}
/***********************************************************************
* SetInternalWindowPos (USER32.@)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment