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
ca7e9ff1
Commit
ca7e9ff1
authored
Aug 21, 2003
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cope with potentially moved and resized file view window.
parent
864ca068
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
filedlg95.c
dlls/commdlg/filedlg95.c
+0
-4
filedlgbrowser.c
dlls/commdlg/filedlgbrowser.c
+5
-1
filedlgbrowser.h
dlls/commdlg/filedlgbrowser.h
+0
-1
No files found.
dlls/commdlg/filedlg95.c
View file @
ca7e9ff1
...
@@ -1987,10 +1987,6 @@ static HRESULT FILEDLG95_SHELL_Init(HWND hwnd)
...
@@ -1987,10 +1987,6 @@ static HRESULT FILEDLG95_SHELL_Init(HWND hwnd)
fodInfos
->
ShellInfos
.
folderSettings
.
fFlags
|=
FWF_AUTOARRANGE
|
FWF_ALIGNLEFT
;
fodInfos
->
ShellInfos
.
folderSettings
.
fFlags
|=
FWF_AUTOARRANGE
|
FWF_ALIGNLEFT
;
fodInfos
->
ShellInfos
.
folderSettings
.
ViewMode
=
FVM_LIST
;
fodInfos
->
ShellInfos
.
folderSettings
.
ViewMode
=
FVM_LIST
;
GetWindowRect
(
GetDlgItem
(
hwnd
,
IDC_SHELLSTATIC
),
&
fodInfos
->
ShellInfos
.
rectView
);
ScreenToClient
(
hwnd
,(
LPPOINT
)
&
fodInfos
->
ShellInfos
.
rectView
.
left
);
ScreenToClient
(
hwnd
,(
LPPOINT
)
&
fodInfos
->
ShellInfos
.
rectView
.
right
);
/* Construct the IShellBrowser interface */
/* Construct the IShellBrowser interface */
fodInfos
->
Shell
.
FOIShellBrowser
=
IShellBrowserImpl_Construct
(
hwnd
);
fodInfos
->
Shell
.
FOIShellBrowser
=
IShellBrowserImpl_Construct
(
hwnd
);
...
...
dlls/commdlg/filedlgbrowser.c
View file @
ca7e9ff1
...
@@ -305,6 +305,7 @@ HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
...
@@ -305,6 +305,7 @@ HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
HWND
hwndView
;
HWND
hwndView
;
HWND
hDlgWnd
;
HWND
hDlgWnd
;
BOOL
bViewHasFocus
;
BOOL
bViewHasFocus
;
RECT
rectView
;
ICOM_THIS
(
IShellBrowserImpl
,
iface
);
ICOM_THIS
(
IShellBrowserImpl
,
iface
);
...
@@ -400,11 +401,14 @@ HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
...
@@ -400,11 +401,14 @@ HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
COMDLG32_UpdateCurrentDir
(
fodInfos
);
COMDLG32_UpdateCurrentDir
(
fodInfos
);
GetWindowRect
(
GetDlgItem
(
This
->
hwndOwner
,
IDC_SHELLSTATIC
),
&
rectView
);
MapWindowPoints
(
0
,
This
->
hwndOwner
,
(
LPPOINT
)
&
rectView
,
2
);
/* Create the window */
/* Create the window */
TRACE
(
"create view window
\n
"
);
TRACE
(
"create view window
\n
"
);
if
(
FAILED
(
hRes
=
IShellView_CreateViewWindow
(
psvTmp
,
NULL
,
if
(
FAILED
(
hRes
=
IShellView_CreateViewWindow
(
psvTmp
,
NULL
,
&
fodInfos
->
ShellInfos
.
folderSettings
,
fodInfos
->
Shell
.
FOIShellBrowser
,
&
fodInfos
->
ShellInfos
.
folderSettings
,
fodInfos
->
Shell
.
FOIShellBrowser
,
&
fodInfos
->
ShellInfos
.
rectView
,
&
hwndView
)))
goto
error
;
&
rectView
,
&
hwndView
)))
goto
error
;
fodInfos
->
ShellInfos
.
hwndView
=
hwndView
;
fodInfos
->
ShellInfos
.
hwndView
=
hwndView
;
...
...
dlls/commdlg/filedlgbrowser.h
View file @
ca7e9ff1
...
@@ -68,7 +68,6 @@ typedef struct
...
@@ -68,7 +68,6 @@ typedef struct
struct
{
struct
{
HWND
hwndOwner
;
HWND
hwndOwner
;
HWND
hwndView
;
HWND
hwndView
;
RECT
rectView
;
FOLDERSETTINGS
folderSettings
;
FOLDERSETTINGS
folderSettings
;
LPITEMIDLIST
pidlAbsCurrent
;
LPITEMIDLIST
pidlAbsCurrent
;
LPWSTR
lpstrCurrentFilter
;
LPWSTR
lpstrCurrentFilter
;
...
...
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