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
f5f0b8bb
Commit
f5f0b8bb
authored
Dec 03, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Dec 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Remove unused variables (Clang).
parent
dc4d3295
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
112 deletions
+0
-112
msg.c
dlls/user32/tests/msg.c
+0
-112
No files found.
dlls/user32/tests/msg.c
View file @
f5f0b8bb
...
...
@@ -1172,51 +1172,6 @@ static const struct message WmDestroyInvisibleChildSeq[] = {
{
WM_NCDESTROY
,
sent
},
{
0
}
};
/* Moving the mouse in nonclient area */
static
const
struct
message
WmMouseMoveInNonClientAreaSeq
[]
=
{
/* FIXME: add */
{
WM_NCHITTEST
,
sent
},
{
WM_SETCURSOR
,
sent
},
{
WM_NCMOUSEMOVE
,
posted
},
{
0
}
};
/* Moving the mouse in client area */
static
const
struct
message
WmMouseMoveInClientAreaSeq
[]
=
{
/* FIXME: add */
{
WM_NCHITTEST
,
sent
},
{
WM_SETCURSOR
,
sent
},
{
WM_MOUSEMOVE
,
posted
},
{
0
}
};
/* Moving by dragging the title bar (after WM_NCHITTEST and WM_SETCURSOR) (outline move) */
static
const
struct
message
WmDragTitleBarSeq
[]
=
{
/* FIXME: add */
{
WM_NCLBUTTONDOWN
,
sent
|
wparam
,
HTCAPTION
},
{
WM_SYSCOMMAND
,
sent
|
defwinproc
|
wparam
,
SC_MOVE
+
2
},
{
WM_GETMINMAXINFO
,
sent
|
defwinproc
},
{
WM_ENTERSIZEMOVE
,
sent
|
defwinproc
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
|
defwinproc
,
0
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
|
defwinproc
,
0
},
{
WM_MOVE
,
sent
|
defwinproc
},
{
WM_EXITSIZEMOVE
,
sent
|
defwinproc
},
{
0
}
};
/* Sizing by dragging the thick borders (after WM_NCHITTEST and WM_SETCURSOR) (outline move) */
static
const
struct
message
WmDragThickBordersBarSeq
[]
=
{
/* FIXME: add */
{
WM_NCLBUTTONDOWN
,
sent
|
wparam
,
0xd
},
{
WM_SYSCOMMAND
,
sent
|
defwinproc
|
wparam
,
0xf004
},
{
WM_GETMINMAXINFO
,
sent
|
defwinproc
},
{
WM_ENTERSIZEMOVE
,
sent
|
defwinproc
},
{
WM_SIZING
,
sent
|
defwinproc
|
wparam
,
4
},
/* one for each mouse movement */
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
|
defwinproc
,
0
},
{
WM_GETMINMAXINFO
,
sent
|
defwinproc
},
{
WM_NCCALCSIZE
,
sent
|
defwinproc
|
wparam
,
1
},
{
WM_NCPAINT
,
sent
|
defwinproc
|
wparam
,
1
},
{
WM_GETTEXT
,
sent
|
defwinproc
},
{
WM_ERASEBKGND
,
sent
|
defwinproc
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
|
defwinproc
,
0
},
{
WM_MOVE
,
sent
|
defwinproc
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
,
SIZE_RESTORED
},
{
WM_EXITSIZEMOVE
,
sent
|
defwinproc
},
{
0
}
};
/* Resizing child window with MoveWindow (32) */
static
const
struct
message
WmResizingChildWithMoveWindowSeq
[]
=
{
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOACTIVATE
},
...
...
@@ -1229,41 +1184,6 @@ static const struct message WmResizingChildWithMoveWindowSeq[] = {
{
EVENT_OBJECT_LOCATIONCHANGE
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
0
}
};
/* Clicking on inactive button */
static
const
struct
message
WmClickInactiveButtonSeq
[]
=
{
/* FIXME: add */
{
WM_NCHITTEST
,
sent
},
{
WM_PARENTNOTIFY
,
sent
|
parent
|
wparam
,
WM_LBUTTONDOWN
},
{
WM_MOUSEACTIVATE
,
sent
},
{
WM_MOUSEACTIVATE
,
sent
|
parent
|
defwinproc
},
{
WM_SETCURSOR
,
sent
},
{
WM_SETCURSOR
,
sent
|
parent
|
defwinproc
},
{
WM_LBUTTONDOWN
,
posted
},
{
WM_KILLFOCUS
,
posted
|
parent
},
{
WM_SETFOCUS
,
posted
},
{
WM_CTLCOLORBTN
,
posted
|
parent
},
{
BM_SETSTATE
,
posted
},
{
WM_CTLCOLORBTN
,
posted
|
parent
},
{
WM_LBUTTONUP
,
posted
},
{
BM_SETSTATE
,
posted
},
{
WM_CTLCOLORBTN
,
posted
|
parent
},
{
WM_COMMAND
,
posted
|
parent
},
{
0
}
};
/* Reparenting a button (16/32) */
/* The last child (button) reparented gets topmost for its new parent. */
static
const
struct
message
WmReparentButtonSeq
[]
=
{
/* FIXME: add */
{
WM_SHOWWINDOW
,
sent
|
wparam
,
0
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_HIDEWINDOW
|
SWP_NOACTIVATE
|
SWP_NOMOVE
|
SWP_NOSIZE
},
{
EVENT_OBJECT_HIDE
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
WM_ERASEBKGND
,
sent
|
parent
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
SWP_HIDEWINDOW
|
SWP_NOACTIVATE
|
SWP_NOMOVE
|
SWP_NOSIZE
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOSIZE
},
{
WM_CHILDACTIVATE
,
sent
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
SWP_NOSIZE
|
SWP_NOREDRAW
},
{
WM_MOVE
,
sent
|
defwinproc
},
{
WM_SHOWWINDOW
,
sent
|
wparam
,
1
},
{
0
}
};
/* Creation of a custom dialog (32) */
static
const
struct
message
WmCreateCustomDialogSeq
[]
=
{
{
HCBT_CREATEWND
,
hook
},
...
...
@@ -1464,35 +1384,6 @@ static const struct message WmModalDialogSeq[] = {
{
WM_NCDESTROY
,
sent
},
{
0
}
};
/* Creation of a modal dialog that is resized inside WM_INITDIALOG (32) */
static
const
struct
message
WmCreateModalDialogResizeSeq
[]
=
{
/* FIXME: add */
/* (inside dialog proc, handling WM_INITDIALOG) */
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
0
},
{
WM_NCCALCSIZE
,
sent
},
{
WM_NCACTIVATE
,
sent
|
parent
|
wparam
,
0
},
{
WM_GETTEXT
,
sent
|
defwinproc
},
{
WM_ACTIVATE
,
sent
|
parent
|
wparam
,
0
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
0
},
{
WM_WINDOWPOSCHANGING
,
sent
|
parent
},
{
WM_NCACTIVATE
,
sent
|
wparam
,
1
},
{
WM_ACTIVATE
,
sent
|
wparam
,
1
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
0
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
,
SIZE_RESTORED
},
/* (setting focus) */
{
WM_SHOWWINDOW
,
sent
|
wparam
,
1
},
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
0
},
{
WM_NCPAINT
,
sent
},
{
WM_GETTEXT
,
sent
|
defwinproc
},
{
WM_ERASEBKGND
,
sent
},
{
WM_CTLCOLORDLG
,
sent
|
defwinproc
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
0
},
{
WM_PAINT
,
sent
},
/* (bunch of WM_CTLCOLOR* for each control) */
{
WM_PAINT
,
sent
|
parent
},
{
WM_ENTERIDLE
,
sent
|
parent
|
wparam
,
0
},
{
WM_SETCURSOR
,
sent
|
parent
},
{
0
}
};
/* SetMenu for NonVisible windows with size change*/
static
const
struct
message
WmSetMenuNonVisibleSizeChangeSeq
[]
=
{
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_FRAMECHANGED
|
SWP_NOACTIVATE
|
SWP_NOSIZE
|
SWP_NOMOVE
},
...
...
@@ -14107,9 +13998,6 @@ static const struct message WmSetFocus_3[] = {
{
HCBT_SETFOCUS
,
hook
},
/* child */
{
0
}
};
static
const
struct
message
WmSetFocus_4
[]
=
{
{
0
}
};
static
void
test_SetFocus
(
void
)
{
...
...
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