Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sam Joan Roque-Worcel
wine
Commits
757687ee
Commit
757687ee
authored
20 years ago
by
Ivan Leo Puoti
Committed by
Alexandre Julliard
20 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Proper implementation of sysmodal message boxes.
parent
2dec5250
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
windows/msgbox.c
+10
-10
10 additions, 10 deletions
windows/msgbox.c
with
10 additions
and
10 deletions
windows/msgbox.c
+
10
−
10
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment