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
757687ee
Commit
757687ee
authored
Nov 03, 2004
by
Ivan Leo Puoti
Committed by
Alexandre Julliard
Nov 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proper implementation of sysmodal message boxes.
parent
2dec5250
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
msgbox.c
windows/msgbox.c
+10
-10
No files found.
windows/msgbox.c
View file @
757687ee
...
...
@@ -249,17 +249,17 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
}
/* handle modal MessageBoxes */
if
(
lpmb
->
dwStyle
&
(
MB_TASKMODAL
|
MB_SYSTEMMODAL
))
if
(
lpmb
->
dwStyle
&
MB_SYSTEMMODAL
)
SetWindowPos
(
hwnd
,
HWND_TOPMOST
,
0
,
0
,
0
,
0
,
SWP_NOMOVE
|
SWP_NOSIZE
);
if
(
lpmb
->
dwStyle
&
MB_TASKMODAL
)
{
FIXME
(
"%s modal msgbox ! Not modal yet.
\n
"
,
lpmb
->
dwStyle
&
MB_TASKMODAL
?
"task"
:
"system"
);
/* Probably do EnumTaskWindows etc. here for TASKMODAL
* and work your way up to the top - I'm lazy (HWND_TOP) */
SetWindowPos
(
hwnd
,
HWND_TOP
,
0
,
0
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
);
if
(
lpmb
->
dwStyle
&
MB_TASKMODAL
)
/* at least MB_TASKMODAL seems to imply a ShowWindow */
ShowWindow
(
hwnd
,
SW_SHOW
);
FIXME
(
"task modal msgbox ! Not modal yet.
\n
"
);
/* Probably do EnumTaskWindows etc. here and work
* your way up to the top - I'm lazy (HWND_TOP) */
SetWindowPos
(
hwnd
,
HWND_TOP
,
0
,
0
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
);
/* MB_TASKMODAL seems to imply a ShowWindow */
ShowWindow
(
hwnd
,
SW_SHOW
);
}
return
hFont
;
...
...
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