summaryrefslogtreecommitdiff
path: root/delphi/Awkward/include/reserve/m_alocale.inc
blob: fd026ef3db6c228c283bcd012d08a278c0232254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
Header file for Miranda plugin developers, which allows you to use AutoLocale with your windowed
plugins. Just call service function "AutoLocale/ChangeLocale"

Author Ni4 (Nickolay L. Olshevsky) , Kiev, Ukraine.
All suggestions, wishes, bug reports please send to dark.ni4@ukr.net.
}
{$IFNDEF M_AUTOLOCALE}
{$DEFINE M_AUTOLOCALE}
{
 Now here is only one function, which allows you to change locale for current user.
 Must be called on WM_ACTIVATE message, for windows which represents messaging sessions.

 Parameters:
  wParam - (WPARAM) of contact identifier in database.
  lParam - doesn't matter.

 Return values:
  last watched user handle.
}
const
  MS_AUTOLOCALE_CHANGELOCALE = 'AutoLocale/ChangeLocale';
{$ENDIF}