Commit 43aa5f6b authored by Bernhard Übelacker's avatar Bernhard Übelacker Committed by Alexandre Julliard

comctl32: Test for window messages of a property sheet with custom dialog proc.

parent 5d570706
...@@ -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;
......
...@@ -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
......
...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment