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
a71e1b49
Commit
a71e1b49
authored
Mar 12, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 12, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed use of WND struct.
parent
e9437c73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
shell.c
misc/shell.c
+9
-5
No files found.
misc/shell.c
View file @
a71e1b49
...
...
@@ -14,10 +14,10 @@
#include "winerror.h"
#include "file.h"
#include "heap.h"
#include "ldt.h"
#include "module.h"
#include "neexe.h"
#include "dlgs.h"
#include "win.h"
#include "cursoricon.h"
#include "sysmetrics.h"
#include "shellapi.h"
...
...
@@ -67,11 +67,15 @@ static UINT16 uMsgShellActivate = 0;
*/
void
WINAPI
DragAcceptFiles
(
HWND
hWnd
,
BOOL
b
)
{
WND
*
wnd
=
WIN_FindWndPtr
(
hWnd
)
;
LONG
exstyle
;
if
(
wnd
)
wnd
->
dwExStyle
=
b
?
wnd
->
dwExStyle
|
WS_EX_ACCEPTFILES
:
wnd
->
dwExStyle
&
~
WS_EX_ACCEPTFILES
;
if
(
!
IsWindow
(
hWnd
)
)
return
;
exstyle
=
GetWindowLongA
(
hWnd
,
GWL_EXSTYLE
);
if
(
b
)
exstyle
|=
WS_EX_ACCEPTFILES
;
else
exstyle
&=
~
WS_EX_ACCEPTFILES
;
SetWindowLongA
(
hWnd
,
GWL_EXSTYLE
,
exstyle
);
}
/*************************************************************************
...
...
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