Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
3f68641b
Commit
3f68641b
authored
Dec 06, 2008
by
Vincent Povirk
Committed by
Alexandre Julliard
Dec 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer,shell32: Improve ABM_GETTASKBARPOS stub.
parent
341d55b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
appbar.c
dlls/shell32/appbar.c
+2
-2
appbar.c
dlls/shell32/tests/appbar.c
+0
-3
appbar.c
programs/explorer/appbar.c
+9
-3
No files found.
dlls/shell32/appbar.c
View file @
3f68641b
...
...
@@ -46,7 +46,7 @@ struct appbar_cmd
struct
appbar_response
{
UINT_PTR
result
;
RECT
rc
;
APPBARDATA
abd
;
};
/*************************************************************************
...
...
@@ -112,7 +112,7 @@ UINT_PTR WINAPI SHAppBarMessage(DWORD msg, PAPPBARDATA data)
response
=
(
struct
appbar_response
*
)
return_view
;
ret
=
response
->
result
;
data
->
rc
=
response
->
rc
;
*
data
=
response
->
abd
;
UnmapViewOfFile
(
return_view
);
...
...
dlls/shell32/tests/appbar.c
View file @
3f68641b
...
...
@@ -400,11 +400,8 @@ static void test_appbarget(void)
if
(
ret
)
{
ok
(
abd
.
hWnd
==
(
HWND
)
0xcccccccc
,
"hWnd overwritten
\n
"
);
todo_wine
{
ok
(
abd
.
uEdge
<=
ABE_BOTTOM
,
"uEdge not returned
\n
"
);
ok
(
abd
.
rc
.
left
!=
0xcccccccc
,
"rc not updated
\n
"
);
}
}
return
;
...
...
programs/explorer/appbar.c
View file @
3f68641b
...
...
@@ -47,7 +47,7 @@ struct appbar_cmd
struct
appbar_response
{
UINT_PTR
result
;
RECT
rc
;
APPBARDATA
abd
;
};
static
HWND
appbarmsg_window
=
NULL
;
...
...
@@ -195,7 +195,13 @@ static UINT_PTR handle_appbarmessage(DWORD msg, PAPPBARDATA abd)
return
ABS_ALWAYSONTOP
|
ABS_AUTOHIDE
;
case
ABM_GETTASKBARPOS
:
WINE_FIXME
(
"SHAppBarMessage(ABM_GETTASKBARPOS, hwnd=%p): stub
\n
"
,
abd
->
hWnd
);
return
FALSE
;
/* Report the taskbar is at the bottom of the screen. */
abd
->
rc
.
left
=
0
;
abd
->
rc
.
right
=
GetSystemMetrics
(
SM_CXSCREEN
);
abd
->
rc
.
bottom
=
GetSystemMetrics
(
SM_CYSCREEN
);
abd
->
rc
.
top
=
abd
->
rc
.
bottom
-
1
;
abd
->
uEdge
=
ABE_BOTTOM
;
return
TRUE
;
case
ABM_ACTIVATE
:
WINE_FIXME
(
"SHAppBarMessage(ABM_ACTIVATE, hwnd=%p, lparam=%lx): stub
\n
"
,
abd
->
hWnd
,
abd
->
lParam
);
return
TRUE
;
...
...
@@ -256,7 +262,7 @@ LRESULT CALLBACK appbar_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpara
{
response
=
(
struct
appbar_response
*
)
return_view
;
response
->
result
=
result
;
response
->
rc
=
cmd
.
abd
.
rc
;
response
->
abd
=
cmd
.
abd
;
UnmapViewOfFile
(
return_view
);
}
...
...
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