[CALC] Use CW_USEDEFAULT16 for Dialog X (#5621)

- Use CW_USEDEFAULT16 (0x8000) for the X coordinate of IDD_DIALOG_SCIENTIFIC,
  IDD_DIALOG_STANDARD, and IDD_DIALOG_CONVERSION dialogs.
https://stackoverflow.com/a/76201122/4381493
BEFORE:
e16ce819-05a9-483a-aacb-b93caaacff5a
The starting position wouldn't change from upper left corner (0, 0) of the screen.
AFTER:
569ae41b-b545-4eb0-8848-d25dbc5d4699
The starting position is changing.
CORE-19141
This commit is contained in:
Katayama Hirofumi MZ 2023-08-27 19:46:56 +09:00 committed by GitHub
parent f90a1956a5
commit fc9baff5d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 89 additions and 87 deletions

View file

@ -4,6 +4,8 @@
#define IDC_STATIC -1
#endif
#define CW_USEDEFAULT16 0x8000
#define IDS_CALC_NAME 1
#define IDS_MATH_ERROR 2
#define IDS_QUICKHELP 3