Delphi, Windows, System messages | |
---|---|
Pliskin Автор Сообщений: 2959 Откуда: Новосибирск Дата регистрации: 19.11.2003 |
Доброго всем здравия!
В Delphi есть такая переменная DecimalSeparator При запуске своей программы меняю её в соответствии со своими настройками Но! Если во время работы программы изменить в системных настройках разделитель десятичных разрядов, то изменится и переменная DecimalSeparator! Есть ли возможность поймать это сообщение и что за сообщение рассылает Windows в данном случае? Благодарю всех заранее! |
Re: Delphi, Windows, System messages | |
---|---|
ry Сообщений: 2113 Дата регистрации: 24.09.2007 |
Из хелпа по Delphi 7:
Note: Routines that refer to global variables are not thread-safe. Each routine that uses these variables has a thread-safe overload that refers to a TFormatSettings parameter instead of the global variables. On Windows, the initial values of these variables are fetched from the system registry using the GetLocaleInfo function in the Win32 API. CLX (non-console) applications automatically update these formatting variables in response to WM_WININICHANGE messages. Там же: UpdateFormatSettings property (TApplication) Specifies whether format settings are updated automatically when the user alters the system configuration. Исправлено 1 раз(а). Последнее : ry, 20.02.18 08:43 |
Re: Delphi, Windows, System messages | |
---|---|
Pliskin Автор Сообщений: 2959 Откуда: Новосибирск Дата регистрации: 19.11.2003 |
Благодарю!
По-моему, то - самое! |
© 2000-2024 Fox Club  |