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
01f8426f
Commit
01f8426f
authored
Mar 19, 1999
by
Andreas Mohr
Committed by
Alexandre Julliard
Mar 19, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide dialog windows created by CreateDialog* in EndDialog just as
Windows does.
parent
74517744
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
dialog.c
windows/dialog.c
+9
-2
No files found.
windows/dialog.c
View file @
01f8426f
...
...
@@ -984,7 +984,7 @@ INT WINAPI DialogBoxIndirectParamW(HINSTANCE hInstance, LPCVOID template,
/***********************************************************************
* EndDialog16 (USER
32.173
)
* EndDialog16 (USER
.88
)
*/
BOOL16
WINAPI
EndDialog16
(
HWND16
hwnd
,
INT16
retval
)
{
...
...
@@ -993,7 +993,7 @@ BOOL16 WINAPI EndDialog16( HWND16 hwnd, INT16 retval )
/***********************************************************************
* EndDialog32 (USER
.88
)
* EndDialog32 (USER
32.173
)
*/
BOOL
WINAPI
EndDialog
(
HWND
hwnd
,
INT
retval
)
{
...
...
@@ -1007,6 +1007,13 @@ BOOL WINAPI EndDialog( HWND hwnd, INT retval )
dlgInfo
->
idResult
=
retval
;
dlgInfo
->
flags
|=
DF_END
;
}
/* Paint Shop Pro 4.14 calls EndDialog for a CreateDialog* dialog,
* which isn't "normal". Only DialogBox* dialogs may be EndDialog()ed.
* Just hide the window as windows does it...
*/
ShowWindow
(
hwnd
,
SW_HIDE
);
WIN_ReleaseWndPtr
(
wndPtr
);
return
TRUE
;
}
...
...
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