29#define SAMPLE_NUMBER L"123456789"
30#define SAMPLE_NEG_NUMBER L"-123456789"
31#define MAX_NUM_SEP_SAMPLES 2
32#define MAX_FRAC_NUM_SAMPLES 10
33#define MAX_FIELD_SEP_SAMPLES 1
34#define MAX_FIELD_DIG_SAMPLES 3
35#define MAX_NEG_SIGN_SAMPLES 1
36#define MAX_NEG_NUMBERS_SAMPLES 5
37#define MAX_LEAD_ZEROES_SAMPLES 2
38#define MAX_LIST_SEP_SAMPLES 1
39#define MAX_UNITS_SYS_SAMPLES 2
46 {
L"0;0",
L"3;0",
L"3;2;0"};
50 {
L"(1,1)",
L"-1,1",
L"- 1,1",
L"1,1-",
L"1,1 -"};
189 PWSTR pszFieldDigNumSmpl;
202 if (pszFieldDigNumSmpl !=
NULL)
207 (
LPARAM)pszFieldDigNumSmpl);
270 PWSTR pszString1, pszString2;
286 if (pszString1 !=
NULL)
292 if (pszString2 !=
NULL)
332 if (pszResultStr !=
NULL)
402 WCHAR szUnitName[128];
494 if (szNumDecimalSep[0] ==
L'\0')
512 if (szNumThousandSep[0] ==
L'\0')
530 if (szNumNegativeSign[0] ==
L'\0')
553 if (szNumListSep[0] ==
L'\0')
633 pGlobalData->bUserLocaleChanged =
TRUE;
#define MAX_LIST_SEP_SAMPLES
static VOID InitNumDecimalSepCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
static PWSTR lpNegNumFmtSamples[MAX_NEG_NUMBERS_SAMPLES]
#define MAX_LEAD_ZEROES_SAMPLES
static PWSTR lpLeadNumFmtSamples[MAX_LEAD_ZEROES_SAMPLES]
#define MAX_FIELD_DIG_SAMPLES
static PWSTR lpFieldSepSamples[MAX_FIELD_SEP_SAMPLES]
#define MAX_FIELD_SEP_SAMPLES
static VOID InitUnitsSysCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
INT_PTR CALLBACK NumbersPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static VOID UpdateNumSamples(HWND hwndDlg, PGLOBALDATA pGlobalData)
static VOID InitNumOfFracSymbCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
static PWSTR lpFieldDigNumSamples[MAX_FIELD_DIG_SAMPLES]
static VOID InitFieldDigNumCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
#define SAMPLE_NEG_NUMBER
static VOID InitNegNumFmtCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
#define MAX_FRAC_NUM_SAMPLES
#define MAX_NUM_SEP_SAMPLES
static VOID InitNumFieldSepCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
static BOOL GetNumberSetting(HWND hwndDlg, PGLOBALDATA pGlobalData)
static VOID InitLeadingZeroesCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
static VOID InitNegSignCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
#define MAX_UNITS_SYS_SAMPLES
#define MAX_NEG_SIGN_SAMPLES
#define MAX_NEG_NUMBERS_SAMPLES
static VOID InitListSepCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
static PWSTR lpNegSignSamples[MAX_NEG_SIGN_SAMPLES]
static PWSTR lpNumSepSamples[MAX_NUM_SEP_SAMPLES]
static PWSTR lpListSepSamples[MAX_LIST_SEP_SAMPLES]
#define IDC_NUMBERDSYMBOL
#define IDC_NUMBERSNDIGDEC
#define IDC_NUMBERSDIGITGRSYM
#define IDC_NUMBERSPOSSAMPLE
#define IDC_NUMBERSMEASSYS
#define IDC_NUMBERSNSIGNSYM
#define IDC_NUMBERSNNUMFORMAT
#define IDC_NUMBERSNEGSAMPLE
#define IDC_NUMBERSDISPLEADZER
#define IDC_NUMBERSDGROUPING
#define HeapFree(x, y, z)
GROUPINGDATA GroupingFormats[MAX_GROUPINGFORMATS]
_CRTIMP wchar_t *__cdecl _itow(_In_ int _Value, _Pre_notnull_ _Post_z_ wchar_t *_Dest, _In_ int _Radix)
VOID GetSelectedComboBoxText(HWND hwndDlg, INT nIdDlgItem, PWSTR Buffer, UINT uSize)
#define MAX_NUMNEGATIVESIGN
PWSTR ReplaceSubStr(PCWSTR szSourceStr, PCWSTR szStrToReplace, PCWSTR szTempl)
#define MAX_NUMDECIMALSEP
VOID GetSelectedComboBoxIndex(HWND hwndDlg, INT nIdDlgItem, PINT pValue)
struct _GLOBALDATA * PGLOBALDATA
PWSTR InsSpacesFmt(PCWSTR szSourceStr, PCWSTR szFmtStr)
#define MAX_SAMPLES_STR_SIZE
#define MAX_NUMTHOUSANDSEP
#define PropSheet_Changed(d, w)
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_In_ UCHAR _In_ ULONG _Out_ PUCHAR _Outptr_result_bytebuffer_ OutBufferLength PVOID * OutBuffer
WCHAR szNumListSep[MAX_NUMLISTSEP]
WCHAR szNumDecimalSep[MAX_NUMDECIMALSEP]
WCHAR szNumNegativeSign[MAX_NUMNEGATIVESIGN]
WCHAR szNumThousandSep[MAX_NUMTHOUSANDSEP]
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI GetParent(_In_ HWND)
#define SendDlgItemMessage