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
85350c8c
Commit
85350c8c
authored
Aug 27, 2002
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dump SetWindowPos flags.
parent
d75aed2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
winpos.c
windows/winpos.c
+44
-0
No files found.
windows/winpos.c
View file @
85350c8c
...
...
@@ -1517,6 +1517,46 @@ LONG WINPOS_HandleWindowPosChanging( HWND hwnd, WINDOWPOS *winpos )
/***********************************************************************
* dump_winpos_flags
*/
static
void
dump_winpos_flags
(
UINT
flags
)
{
TRACE
(
"flags:"
);
if
(
flags
&
SWP_NOSIZE
)
DPRINTF
(
" SWP_NOSIZE"
);
if
(
flags
&
SWP_NOMOVE
)
DPRINTF
(
" SWP_NOMOVE"
);
if
(
flags
&
SWP_NOZORDER
)
DPRINTF
(
" SWP_NOZORDER"
);
if
(
flags
&
SWP_NOREDRAW
)
DPRINTF
(
" SWP_NOREDRAW"
);
if
(
flags
&
SWP_NOACTIVATE
)
DPRINTF
(
" SWP_NOACTIVATE"
);
if
(
flags
&
SWP_FRAMECHANGED
)
DPRINTF
(
" SWP_FRAMECHANGED"
);
if
(
flags
&
SWP_SHOWWINDOW
)
DPRINTF
(
" SWP_SHOWWINDOW"
);
if
(
flags
&
SWP_HIDEWINDOW
)
DPRINTF
(
" SWP_HIDEWINDOW"
);
if
(
flags
&
SWP_NOCOPYBITS
)
DPRINTF
(
" SWP_NOCOPYBITS"
);
if
(
flags
&
SWP_NOOWNERZORDER
)
DPRINTF
(
" SWP_NOOWNERZORDER"
);
if
(
flags
&
SWP_NOSENDCHANGING
)
DPRINTF
(
" SWP_NOSENDCHANGING"
);
if
(
flags
&
SWP_DEFERERASE
)
DPRINTF
(
" SWP_DEFERERASE"
);
if
(
flags
&
SWP_ASYNCWINDOWPOS
)
DPRINTF
(
" SWP_ASYNCWINDOWPOS"
);
#define DUMPED_FLAGS \
(SWP_NOSIZE | \
SWP_NOMOVE | \
SWP_NOZORDER | \
SWP_NOREDRAW | \
SWP_NOACTIVATE | \
SWP_FRAMECHANGED | \
SWP_SHOWWINDOW | \
SWP_HIDEWINDOW | \
SWP_NOCOPYBITS | \
SWP_NOOWNERZORDER | \
SWP_NOSENDCHANGING | \
SWP_DEFERERASE | \
SWP_ASYNCWINDOWPOS)
if
(
flags
&
~
DUMPED_FLAGS
)
DPRINTF
(
" %08x"
,
flags
&
~
DUMPED_FLAGS
);
DPRINTF
(
"
\n
"
);
#undef DUMPED_FLAGS
}
/***********************************************************************
* SetWindowPos (USER32.@)
*/
BOOL
WINAPI
SetWindowPos
(
HWND
hwnd
,
HWND
hwndInsertAfter
,
...
...
@@ -1524,6 +1564,10 @@ BOOL WINAPI SetWindowPos( HWND hwnd, HWND hwndInsertAfter,
{
WINDOWPOS
winpos
;
TRACE
(
"hwnd %x, after %x, %d,%d (%dx%d), flags %08x
\n
"
,
hwnd
,
hwndInsertAfter
,
x
,
y
,
cx
,
cy
,
flags
);
if
(
TRACE_ON
(
win
))
dump_winpos_flags
(
flags
);
winpos
.
hwnd
=
hwnd
;
winpos
.
hwndInsertAfter
=
hwndInsertAfter
;
winpos
.
x
=
x
;
...
...
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