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
30ebfa6d
Commit
30ebfa6d
authored
Oct 19, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Oct 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Test to see if WM_SETREDRAW removes the windows visibility.
parent
b5f59b99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
editor.c
dlls/riched20/tests/editor.c
+3
-0
No files found.
dlls/riched20/tests/editor.c
View file @
30ebfa6d
...
@@ -5186,7 +5186,10 @@ static void test_eventMask(void)
...
@@ -5186,7 +5186,10 @@ static void test_eventMask(void)
/* check to see if EN_CHANGE is sent when redraw is turned off */
/* check to see if EN_CHANGE is sent when redraw is turned off */
SendMessage
(
eventMaskEditHwnd
,
WM_CLEAR
,
0
,
0
);
SendMessage
(
eventMaskEditHwnd
,
WM_CLEAR
,
0
,
0
);
ok
(
IsWindowVisible
(
eventMaskEditHwnd
),
"Window should be visible.
\n
"
);
SendMessage
(
eventMaskEditHwnd
,
WM_SETREDRAW
,
FALSE
,
0
);
SendMessage
(
eventMaskEditHwnd
,
WM_SETREDRAW
,
FALSE
,
0
);
/* redraw is disabled by making the window invisible. */
todo_wine
ok
(
!
IsWindowVisible
(
eventMaskEditHwnd
),
"Window shouldn't be visible.
\n
"
);
queriedEventMask
=
0
;
/* initialize to something other than we expect */
queriedEventMask
=
0
;
/* initialize to something other than we expect */
SendMessage
(
eventMaskEditHwnd
,
EM_REPLACESEL
,
0
,
(
LPARAM
)
text
);
SendMessage
(
eventMaskEditHwnd
,
EM_REPLACESEL
,
0
,
(
LPARAM
)
text
);
ok
(
queriedEventMask
==
(
eventMask
&
~
ENM_CHANGE
),
ok
(
queriedEventMask
==
(
eventMask
&
~
ENM_CHANGE
),
...
...
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