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
43aa5f6b
Commit
43aa5f6b
authored
Nov 06, 2010
by
Bernhard Übelacker
Committed by
Alexandre Julliard
Nov 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Test for window messages of a property sheet with custom dialog proc.
parent
5d570706
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
msg.h
dlls/comctl32/tests/msg.h
+2
-2
propsheet.c
dlls/comctl32/tests/propsheet.c
+0
-0
resources.h
dlls/comctl32/tests/resources.h
+1
-0
rsrc.rc
dlls/comctl32/tests/rsrc.rc
+7
-0
No files found.
dlls/comctl32/tests/msg.h
View file @
43aa5f6b
...
@@ -89,7 +89,7 @@ static void add_message(struct msg_sequence **seq, int sequence_index,
...
@@ -89,7 +89,7 @@ static void add_message(struct msg_sequence **seq, int sequence_index,
msg_seq
->
count
++
;
msg_seq
->
count
++
;
}
}
static
void
flush_sequence
(
struct
msg_sequence
**
seg
,
int
sequence_index
)
static
inline
void
flush_sequence
(
struct
msg_sequence
**
seg
,
int
sequence_index
)
{
{
struct
msg_sequence
*
msg_seq
=
seg
[
sequence_index
];
struct
msg_sequence
*
msg_seq
=
seg
[
sequence_index
];
HeapFree
(
GetProcessHeap
(),
0
,
msg_seq
->
sequence
);
HeapFree
(
GetProcessHeap
(),
0
,
msg_seq
->
sequence
);
...
@@ -97,7 +97,7 @@ static void flush_sequence(struct msg_sequence **seg, int sequence_index)
...
@@ -97,7 +97,7 @@ static void flush_sequence(struct msg_sequence **seg, int sequence_index)
msg_seq
->
count
=
msg_seq
->
size
=
0
;
msg_seq
->
count
=
msg_seq
->
size
=
0
;
}
}
static
void
flush_sequences
(
struct
msg_sequence
**
seq
,
int
n
)
static
inline
void
flush_sequences
(
struct
msg_sequence
**
seq
,
int
n
)
{
{
int
i
;
int
i
;
...
...
dlls/comctl32/tests/propsheet.c
View file @
43aa5f6b
This diff is collapsed.
Click to expand it.
dlls/comctl32/tests/resources.h
View file @
43aa5f6b
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#define IDD_PROP_PAGE_EXIT 33
#define IDD_PROP_PAGE_EXIT 33
#define IDD_PROP_PAGE_WITH_CUSTOM_DEFAULT_BUTTON 34
#define IDD_PROP_PAGE_WITH_CUSTOM_DEFAULT_BUTTON 34
#define IDD_PROP_PAGE_MESSAGE_TEST 35
#define IDC_PS_EDIT1 1000
#define IDC_PS_EDIT1 1000
#define IDC_PS_EDIT2 1001
#define IDC_PS_EDIT2 1001
...
...
dlls/comctl32/tests/rsrc.rc
View file @
43aa5f6b
...
@@ -64,6 +64,13 @@ FONT 8, "MS Shell Dlg"
...
@@ -64,6 +64,13 @@ FONT 8, "MS Shell Dlg"
LTEXT "This has been a test property sheet!", -1, 10, 6, 170, 8
LTEXT "This has been a test property sheet!", -1, 10, 6, 170, 8
}
}
IDD_PROP_PAGE_MESSAGE_TEST DIALOG DISCARDABLE 0, 0, 339, 179
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Message Test"
BEGIN
LTEXT "Some Text",-1,115,1,195,24
END
STRINGTABLE
STRINGTABLE
{
{
IDS_TBADD1 "abc"
IDS_TBADD1 "abc"
...
...
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