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
396bad1f
Commit
396bad1f
authored
Feb 22, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the SW_XXX constants when calling ShowWindow().
parent
8d3167cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
msgbox.c
dlls/shlwapi/msgbox.c
+5
-5
device.c
dlls/wined3d/device.c
+1
-1
No files found.
dlls/shlwapi/msgbox.c
View file @
396bad1f
...
...
@@ -204,15 +204,15 @@ static INT_PTR CALLBACK SHDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lP
switch
(
d
->
dwType
)
{
case
0
:
ShowWindow
(
GetDlgItem
(
hDlg
,
IDCANCEL
),
FALS
E
);
ShowWindow
(
GetDlgItem
(
hDlg
,
IDCANCEL
),
SW_HID
E
);
/* FIXME: Move OK button to position of the Cancel button (cosmetic) */
case
1
:
ShowWindow
(
GetDlgItem
(
hDlg
,
IDYES
),
FALS
E
);
ShowWindow
(
GetDlgItem
(
hDlg
,
IDNO
),
FALS
E
);
ShowWindow
(
GetDlgItem
(
hDlg
,
IDYES
),
SW_HID
E
);
ShowWindow
(
GetDlgItem
(
hDlg
,
IDNO
),
SW_HID
E
);
break
;
default:
ShowWindow
(
GetDlgItem
(
hDlg
,
IDOK
),
FALS
E
);
ShowWindow
(
GetDlgItem
(
hDlg
,
IDCANCEL
),
FALS
E
);
ShowWindow
(
GetDlgItem
(
hDlg
,
IDOK
),
SW_HID
E
);
ShowWindow
(
GetDlgItem
(
hDlg
,
IDCANCEL
),
SW_HID
E
);
break
;
}
return
TRUE
;
...
...
dlls/wined3d/device.c
View file @
396bad1f
...
...
@@ -1250,7 +1250,7 @@ static void WINAPI IWineD3DDeviceImpl_SetupFullscreenWindow(IWineD3DDevice *ifac
/* Inform the window about the update. */
SetWindowPos
(
window
,
HWND_TOP
,
0
,
0
,
This
->
ddraw_width
,
This
->
ddraw_height
,
SWP_FRAMECHANGED
);
ShowWindow
(
window
,
TRUE
);
ShowWindow
(
window
,
SW_NORMAL
);
}
/*****************************************************************************
...
...
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