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
36d5265a
Commit
36d5265a
authored
Jul 12, 2009
by
Rein Klazes
Committed by
Alexandre Julliard
Jul 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Remove file dialog resize tests that rely on CDN_SELCHANGE notifications.
These notifications are not always sent on some (but not all) win2k3/vista/win2k8 machines.
parent
fdb74127
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
+9
-18
filedlg.c
dlls/comdlg32/tests/filedlg.c
+9
-18
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
36d5265a
...
...
@@ -273,23 +273,20 @@ static void test_create_view_template(void)
/* test cases for resizing of the file dialog */
struct
{
DWORD
flags
;
int
resize_folderchange
;
/* change in CDN_FOLDERCHANGE handler */
int
resize_selchange
;
/* change in CDN_SELCHANGE handler */
int
resize_folderchange
;
/* change in CDN_FOLDERCHANGE handler */
int
resize_timer1
;
/* change in first WM_TIMER handler */
int
resize_check
;
/* expected change (in second WM_TIMER handler) */
BOOL
todo
;
/* mark that test todo_wine */
BOOL
testcontrols
;
/* test resizing and moving of the controls */
}
resize_testcases
[]
=
{
{
0
,
10
,
10
,
10
,
30
,
FALSE
,
FALSE
},
/* 0 */
{
0
,
-
10
,
-
10
,
-
10
,
-
30
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
0
,
0
,
0
,
0
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
0
,
0
,
-
10
,
0
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
0
,
0
,
10
,
10
,
FALSE
,
TRUE
},
{
OFN_ENABLESIZING
,
0
,
-
10
,
0
,
0
,
FALSE
,
FALSE
},
/* 5 */
{
OFN_ENABLESIZING
,
0
,
10
,
0
,
10
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
-
10
,
0
,
0
,
10
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
10
,
0
,
0
,
10
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
0
,
0
,
10
,
20
,
FALSE
,
FALSE
},
{
0
,
10
,
10
,
20
,
FALSE
,
FALSE
},
/* 0 */
{
0
,
-
10
,
-
10
,
-
20
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
0
,
0
,
0
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
0
,
-
10
,
0
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
0
,
10
,
10
,
FALSE
,
TRUE
},
{
OFN_ENABLESIZING
,
-
10
,
0
,
10
,
FALSE
,
FALSE
},
/* 5 */
{
OFN_ENABLESIZING
,
10
,
0
,
10
,
FALSE
,
FALSE
},
{
OFN_ENABLESIZING
,
0
,
10
,
20
,
FALSE
,
FALSE
},
/* mark the end */
{
0xffffffff
}
};
...
...
@@ -338,12 +335,6 @@ static LONG_PTR WINAPI resize_template_hook(HWND dlg, UINT msg, WPARAM wParam, L
MoveWindow
(
parent
,
initrc
.
left
,
initrc
.
top
,
initrc
.
right
-
initrc
.
left
+
resize
,
initrc
.
bottom
-
initrc
.
top
+
resize
,
TRUE
);
}
}
else
if
((
(
LPNMHDR
)
lParam
)
->
code
==
CDN_SELCHANGE
){
if
(
(
resize
=
resize_testcases
[
index
].
resize_selchange
)){
GetWindowRect
(
parent
,
&
rc
);
MoveWindow
(
parent
,
rc
.
left
,
rc
.
top
,
rc
.
right
-
rc
.
left
+
resize
,
rc
.
bottom
-
rc
.
top
+
resize
,
TRUE
);
}
SetTimer
(
dlg
,
0
,
100
,
0
);
}
break
;
...
...
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