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
be1cee72
Commit
be1cee72
authored
Sep 19, 1999
by
Francois Boisvert
Committed by
Alexandre Julliard
Sep 19, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added small feature in the file dialog.
parent
311e456a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
13 deletions
+22
-13
filedlg95.c
dlls/commdlg/filedlg95.c
+10
-10
filedlgbrowser.c
dlls/commdlg/filedlgbrowser.c
+9
-0
shres.rc
dlls/shell32/shres.rc
+3
-3
No files found.
dlls/commdlg/filedlg95.c
View file @
be1cee72
...
...
@@ -1640,8 +1640,9 @@ static BOOL FILEDLG95_LOOKIN_OnCommand(HWND hwnd, WORD wNotifyCode)
iItem
=
CBGetCurSel
(
fodInfos
->
DlgInfos
.
hwndLookInCB
);
tmpFolder
=
(
LPSFOLDER
)
CBGetItemDataPtr
(
fodInfos
->
DlgInfos
.
hwndLookInCB
,
iItem
);
if
(
!
(
tmpFolder
=
(
LPSFOLDER
)
CBGetItemDataPtr
(
fodInfos
->
DlgInfos
.
hwndLookInCB
,
iItem
)))
return
FALSE
;
if
(
SUCCEEDED
(
IShellBrowser_BrowseObject
(
fodInfos
->
Shell
.
FOIShellBrowser
,
...
...
@@ -1929,16 +1930,16 @@ IShellFolder *GetShellFolderFromPidl(LPITEMIDLIST pidlAbs)
psf
=
psfParent
;
if
(
pidlAbs
&&
pidlAbs
->
mkid
.
cb
)
{
if
(
FAIL
ED
(
IShellFolder_BindToObject
(
psfParent
,
pidlAbs
,
NULL
,
&
IID_IShellFolder
,
(
LPVOID
*
)
&
psf
)))
if
(
SUCCEED
ED
(
IShellFolder_BindToObject
(
psfParent
,
pidlAbs
,
NULL
,
&
IID_IShellFolder
,
(
LPVOID
*
)
&
psf
)))
{
psf
=
NULL
;
IShellFolder_Release
(
psfParent
);
return
psf
;
}
}
IShellFolder_Release
(
psfParent
);
/* return the desktop */
return
psfParent
;
}
return
psf
;
return
NULL
;
}
/***********************************************************************
...
...
@@ -1954,9 +1955,8 @@ LPITEMIDLIST GetParentPidl(LPITEMIDLIST pidl)
pidlParent
=
COMDLG32_PIDL_ILClone
(
pidl
);
COMDLG32_PIDL_ILRemoveLastID
(
pidlParent
);
return
pidlParent
;
}
/***********************************************************************
...
...
dlls/commdlg/filedlgbrowser.c
View file @
be1cee72
...
...
@@ -306,6 +306,15 @@ HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
if
(
!
psfTmp
)
return
E_FAIL
;
/* If the pidl to browse to is equal to the actual pidl ...
do nothing and pretend you did it*/
if
(
COMDLG32_PIDL_ILIsEqual
(
pidlTmp
,
fodInfos
->
ShellInfos
.
pidlAbsCurrent
))
{
IShellFolder_Release
(
psfTmp
);
COMDLG32_SHFree
(
pidlTmp
);
return
NOERROR
;
}
/* Release the current fodInfos->Shell.FOIShellFolder and update its value */
IShellFolder_Release
(
fodInfos
->
Shell
.
FOIShellFolder
);
fodInfos
->
Shell
.
FOIShellFolder
=
psfTmp
;
...
...
dlls/shell32/shres.rc
View file @
be1cee72
...
...
@@ -59,7 +59,7 @@ BEGIN
MENUITEM "New &Link", 0x7052
MENUITEM SEPARATOR
END
MENUITEM "Propert
y
s", FCIDM_SHVIEW_PROPERTIES
MENUITEM "Propert
ie
s", FCIDM_SHVIEW_PROPERTIES
END
END
...
...
@@ -74,7 +74,7 @@ BEGIN
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", 0x7050
MENUITEM SEPARATOR
MENUITEM "&Propert
y
s", FCIDM_SHVIEW_PROPERTIES
MENUITEM "&Propert
ie
s", FCIDM_SHVIEW_PROPERTIES
END
END
SHBRSFORFOLDER_MSGBOX DIALOG 15, 40, 128, 152
...
...
@@ -98,7 +98,7 @@ STRINGTABLE DISCARDABLE
IDS_SHV_COLUMN1 "File"
IDS_SHV_COLUMN2 "Size"
IDS_SHV_COLUMN3 "Type"
IDS_SHV_COLUMN4 "Modif
y
ed"
IDS_SHV_COLUMN4 "Modif
i
ed"
IDS_SHV_COLUMN5 "Size" /* drive view */
IDS_SHV_COLUMN6 "Size avaiable" /* drive view */
}
...
...
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