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
2972b400
Commit
2972b400
authored
Feb 20, 2000
by
Juergen Schmied
Committed by
Alexandre Julliard
Feb 20, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- activated use of templates
- moved the creating of new folders to the shellview
parent
40bf27e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
32 deletions
+20
-32
filedlg.c
dlls/commdlg/filedlg.c
+20
-32
No files found.
dlls/commdlg/filedlg.c
View file @
2972b400
...
...
@@ -1368,23 +1368,19 @@ static BOOL Commdlg_GetFileNameW( BOOL16 (CALLBACK *dofunction)(SEGPTR x),
* TRUE on succes: user enters a valid file
* FALSE on cancel, error, close or filename-does-not-fit-in-buffer.
*
* BUGS
* unknown, calls its 16-bit equivalent.
*/
BOOL
WINAPI
GetOpenFileNameA
(
LPOPENFILENAMEA
ofn
/* address of init structure */
)
LPOPENFILENAMEA
ofn
)
/* address of init structure */
{
if
(
(
TWEAK_WineLook
>
WIN31_LOOK
)
&&
(
!
(
ofn
->
Flags
&
(
OFN_ENABLETEMPLATEHANDLE
|
OFN_ENABLETEMPLATE
))))
if
(
TWEAK_WineLook
>
WIN31_LOOK
)
{
return
GetFileDialog95A
(
ofn
,
OPEN_DIALOG
);
}
else
{
BOOL16
(
CALLBACK
*
dofunction
)(
SEGPTR
ofn16
)
=
GetOpenFileName16
;
return
Commdlg_GetFileNameA
(
dofunction
,
ofn
);
}
BOOL16
(
CALLBACK
*
dofunction
)(
SEGPTR
ofn16
)
=
GetOpenFileName16
;
return
Commdlg_GetFileNameA
(
dofunction
,
ofn
);
}
}
/***********************************************************************
...
...
@@ -1396,23 +1392,19 @@ BOOL WINAPI GetOpenFileNameA(
* TRUE on succes: user enters a valid file
* FALSE on cancel, error, close or filename-does-not-fit-in-buffer.
*
* BUGS
* unknown, calls its 16-bit equivalent.
*/
BOOL
WINAPI
GetOpenFileNameW
(
LPOPENFILENAMEW
ofn
/* address of init structure */
)
LPOPENFILENAMEW
ofn
)
/* address of init structure */
{
if
(
(
TWEAK_WineLook
>
WIN31_LOOK
)
&&
(
!
(
ofn
->
Flags
&
(
OFN_ENABLETEMPLATEHANDLE
|
OFN_ENABLETEMPLATE
))))
if
(
TWEAK_WineLook
>
WIN31_LOOK
)
{
return
GetFileDialog95W
(
ofn
,
OPEN_DIALOG
);
}
else
{
BOOL16
(
CALLBACK
*
dofunction
)(
SEGPTR
ofn16
)
=
GetOpenFileName16
;
return
Commdlg_GetFileNameW
(
dofunction
,
ofn
);
}
BOOL16
(
CALLBACK
*
dofunction
)(
SEGPTR
ofn16
)
=
GetOpenFileName16
;
return
Commdlg_GetFileNameW
(
dofunction
,
ofn
);
}
}
/***********************************************************************
...
...
@@ -1424,18 +1416,16 @@ BOOL WINAPI GetOpenFileNameW(
* TRUE on succes: user enters a valid file
* FALSE on cancel, error, close or filename-does-not-fit-in-buffer.
*
* BUGS
* unknown, calls its 16-bit equivalent.
*/
BOOL
WINAPI
GetSaveFileNameA
(
LPOPENFILENAMEA
ofn
/* address of init structure */
)
LPOPENFILENAMEA
ofn
)
/* address of init structure */
{
if
(
(
TWEAK_WineLook
>
WIN31_LOOK
)
&&
(
!
(
ofn
->
Flags
&
(
OFN_ENABLETEMPLATEHANDLE
|
OFN_ENABLETEMPLATE
))))
if
(
TWEAK_WineLook
>
WIN31_LOOK
)
{
return
GetFileDialog95A
(
ofn
,
SAVE_DIALOG
);
}
else
{
}
else
{
BOOL16
(
CALLBACK
*
dofunction
)(
SEGPTR
ofn16
)
=
GetSaveFileName16
;
return
Commdlg_GetFileNameA
(
dofunction
,
ofn
);
}
...
...
@@ -1450,18 +1440,16 @@ BOOL WINAPI GetSaveFileNameA(
* TRUE on succes: user enters a valid file
* FALSE on cancel, error, close or filename-does-not-fit-in-buffer.
*
* BUGS
* unknown, calls its 16-bit equivalent.
*/
BOOL
WINAPI
GetSaveFileNameW
(
LPOPENFILENAMEW
ofn
/* address of init structure */
)
LPOPENFILENAMEW
ofn
)
/* address of init structure */
{
if
(
(
TWEAK_WineLook
>
WIN31_LOOK
)
&&
(
!
(
ofn
->
Flags
&
(
OFN_ENABLETEMPLATEHANDLE
|
OFN_ENABLETEMPLATE
))))
if
(
TWEAK_WineLook
>
WIN31_LOOK
)
{
return
GetFileDialog95W
(
ofn
,
SAVE_DIALOG
);
}
else
{
}
else
{
BOOL16
(
CALLBACK
*
dofunction
)(
SEGPTR
ofn16
)
=
GetSaveFileName16
;
return
Commdlg_GetFileNameW
(
dofunction
,
ofn
);
}
...
...
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