2008-04-22 19:01:56 +00:00
|
|
|
#include <stdio.h>
|
2008-04-20 15:48:43 +00:00
|
|
|
#include <stdlib.h>
|
2008-04-20 10:41:34 +00:00
|
|
|
#include <windows.h>
|
2008-05-04 20:58:15 +00:00
|
|
|
#include <winuser.h>
|
2008-04-20 10:41:34 +00:00
|
|
|
#include <tchar.h>
|
|
|
|
|
|
|
|
#include "resource.h"
|
2008-04-20 15:48:43 +00:00
|
|
|
|
|
|
|
// Character Count of a layout ID like "00000409"
|
|
|
|
#define CCH_LAYOUT_ID 8
|
|
|
|
|
|
|
|
// Maximum Character Count of a ULONG in decimal
|
|
|
|
#define CCH_ULONG_DEC 10
|
2008-05-20 12:53:31 +00:00
|
|
|
|
|
|
|
#define WM_KEY_PRESSED (WM_USER + 10100)
|
|
|
|
#define WM_LANG_CHANGED (WM_USER + 10200)
|
|
|
|
#define WM_WINDOW_ACTIVATE (WM_USER + 10300)
|
|
|
|
#define WM_LOAD_LAYOUT (WM_USER + 10400)
|
|
|
|
|
|
|
|
TCHAR szKbSwitcherName[] = _T("kbswitcher");
|