*
*/
-#include <timedate.h>
+#include "timedate.h"
static WNDPROC pOldWndProc = NULL;
switch (TimeZoneId)
{
case TIME_ZONE_ID_STANDARD:
+ case TIME_ZONE_ID_UNKNOWN:
wcscpy(TimeZoneName, TimeZoneInfo.StandardName);
break;
wcscpy(TimeZoneName, TimeZoneInfo.DaylightName);
break;
- case TIME_ZONE_ID_UNKNOWN:
- LoadStringW(hApplet, IDS_TIMEZONEUNKNOWN, TimeZoneName, 128);
- break;
-
case TIME_ZONE_ID_INVALID:
default:
LoadStringW(hApplet, IDS_TIMEZONEINVALID, TimeZoneName, 128);
{
UNREFERENCED_PARAMETER(lpAutoUpdate);
- /* update the controls */
+ /* Update the controls */
FillMonthsComboBox(GetDlgItem(hwndDlg,
IDC_MONTHCB));
}
switch (uMsg)
{
case WM_KEYDOWN:
- /* stop the timer when the user is about to change the time */
+ /* Stop the timer when the user is about to change the time */
if ((wParam != VK_LEFT) & (wParam != VK_RIGHT))
KillTimer(GetParent(hwnd), ID_TIMER);
break;
SetTimer(hwndDlg, ID_TIMER, 1000, NULL);
- /* set range and current year */
+ /* Set range and current year */
SendMessageW(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETRANGE, 0, MAKELONG ((short) 9999, (short) 1900));
SendMessageW(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETPOS, 0, MAKELONG( (short) st.wYear, 0));
break;
case WM_TIMECHANGE:
- /* FIXME - we don't get this message as we're not a top-level window... */
+ /* FIXME: We don't get this message as we're not a top-level window... */
SendMessageW(GetDlgItem(hwndDlg,
IDC_MONTHCALENDAR),
MCCM_RESET,