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
3f68bc91
Commit
3f68bc91
authored
Jul 20, 2001
by
Bill Medland
Committed by
Alexandre Julliard
Jul 20, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional modifications to the window styles during window creation.
parent
bc38d6bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
win.c
windows/win.c
+20
-1
No files found.
windows/win.c
View file @
3f68bc91
...
...
@@ -709,6 +709,25 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
WIN_FixCoordinates
(
cs
,
&
sw
);
/* fix default coordinates */
/* Correct the window style - stage 1
*
* These are patches that appear to affect both the style loaded into the
* WIN structure and passed in the CreateStruct to the WM_CREATE etc.
*
* WS_EX_WINDOWEDGE appears to be enforced based on the other styles, so
* why does the user get to set it?
*/
/* This has been tested for WS_CHILD | WS_VISIBLE. It has not been
* tested for WS_POPUP
*/
if
((
cs
->
dwExStyle
&
WS_EX_DLGMODALFRAME
)
||
((
!
(
cs
->
dwExStyle
&
WS_EX_STATICEDGE
))
&&
(
cs
->
style
&
(
WS_DLGFRAME
|
WS_THICKFRAME
))))
cs
->
dwExStyle
|=
WS_EX_WINDOWEDGE
;
else
cs
->
dwExStyle
&=
~
WS_EX_WINDOWEDGE
;
/* Create the window structure */
if
(
!
(
hwnd
=
USER_HEAP_ALLOC
(
sizeof
(
*
wndPtr
)
+
wndExtra
-
sizeof
(
wndPtr
->
wExtra
)
)))
...
...
@@ -795,7 +814,7 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
}
}
/* Correct the window style */
/* Correct the window style
- stage 2
*/
if
(
!
(
cs
->
style
&
WS_CHILD
))
{
...
...
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