diff options
Diffstat (limited to 'protocols/MRA/src/MraAdvancedSearch.cpp')
-rw-r--r-- | protocols/MRA/src/MraAdvancedSearch.cpp | 62 |
1 files changed, 29 insertions, 33 deletions
diff --git a/protocols/MRA/src/MraAdvancedSearch.cpp b/protocols/MRA/src/MraAdvancedSearch.cpp index 42cc03beb1..a8056de463 100644 --- a/protocols/MRA/src/MraAdvancedSearch.cpp +++ b/protocols/MRA/src/MraAdvancedSearch.cpp @@ -10,50 +10,47 @@ struct FieldNames LPWSTR lpszText;
};
-
-
static const FieldNames GenderField[] =
{
- {1, LPGENT("Male")},
- {2, LPGENT("Female")},
- {-1, NULL}
+ { 1, LPGENT("Male") },
+ { 2, LPGENT("Female") },
+ { 0, NULL }
};
static const FieldNames MonthField[] =
{
- {1, LPGENT("January")},
- {2, LPGENT("February")},
- {3, LPGENT("March")},
- {4, LPGENT("April")},
- {5, LPGENT("May")},
- {6, LPGENT("June")},
- {7, LPGENT("July")},
- {8, LPGENT("August")},
- {9, LPGENT("September")},
- {10, LPGENT("October")},
- {11, LPGENT("November")},
- {12, LPGENT("December")},
- {-1, NULL}
+ { 1, LPGENT("January") },
+ { 2, LPGENT("February") },
+ { 3, LPGENT("March") },
+ { 4, LPGENT("April") },
+ { 5, LPGENT("May") },
+ { 6, LPGENT("June") },
+ { 7, LPGENT("July") },
+ { 8, LPGENT("August") },
+ { 9, LPGENT("September") },
+ { 10, LPGENT("October") },
+ { 11, LPGENT("November") },
+ { 12, LPGENT("December") },
+ { 0, NULL }
};
static const FieldNames ZodiakField[] =
{
- {1, LPGENT("Aries")},
- {2, LPGENT("Taurus")},
- {3, LPGENT("Gemini")},
- {4, LPGENT("Cancer")},
- {5, LPGENT("Leo")},
- {6, LPGENT("Virgo")},
- {7, LPGENT("Libra")},
- {8, LPGENT("Scorpio")},
- {9, LPGENT("Sagittarius")},
- {10, LPGENT("Capricorn")},
- {11, LPGENT("Aquarius")},
- {12, LPGENT("Pisces")},
- {-1, NULL}
+ { 1, LPGENT("Aries") },
+ { 2, LPGENT("Taurus") },
+ { 3, LPGENT("Gemini") },
+ { 4, LPGENT("Cancer") },
+ { 5, LPGENT("Leo") },
+ { 6, LPGENT("Virgo") },
+ { 7, LPGENT("Libra") },
+ { 8, LPGENT("Scorpio") },
+ { 9, LPGENT("Sagittarius") },
+ { 10, LPGENT("Capricorn") },
+ { 11, LPGENT("Aquarius") },
+ { 12, LPGENT("Pisces") },
+ { 0, NULL }
};
-
void ResetComboBox(HWND hWndCombo)
{
SendMessage(hWndCombo, CB_RESETCONTENT, 0, 0);
@@ -101,7 +98,6 @@ INT_PTR CALLBACK AdvancedSearchDlgProc(HWND hWndDlg, UINT message, WPARAM wParam GetLocalTime(&stTime);
ppro = (CMraProto*)lParam;
- //InitComboBox(GetDlgItem(hWndDlg, IDC_EMAIL_DOMAIN), (FieldNames*)DomainField);
HWND hWndCombo = GetDlgItem(hWndDlg, IDC_EMAIL_DOMAIN);
ResetComboBox(hWndCombo);
|