mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 05:58:13 +00:00
[KBSWITCH][SDK] Add indicml.h and change window class (#7970)
Supporting the IME System Pen icon. JIRA issue: CORE-19268 - Change kbswitch window class to "Indicator" from "kbswitcher". - Add <ime/indicml.h> from DDK.
This commit is contained in:
parent
49427c48c5
commit
99ecbf5e56
2 changed files with 32 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <shellapi.h>
|
||||
#include <tchar.h>
|
||||
#include <strsafe.h>
|
||||
#include <ime/indicml.h> /* INDICATOR_CLASS, INDICM_... */
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
|
@ -26,4 +27,4 @@
|
|||
typedef BOOL (WINAPI *PKBSWITCHSETHOOKS) (VOID);
|
||||
typedef VOID (WINAPI *PKBSWITCHDELETEHOOKS) (VOID);
|
||||
|
||||
TCHAR szKbSwitcherName[] = _T("kbswitcher");
|
||||
const TCHAR szKbSwitcherName[] = INDICATOR_CLASS;
|
||||
|
|
30
sdk/include/ime/indicml.h
Normal file
30
sdk/include/ime/indicml.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* PROJECT: ReactOS headers
|
||||
* LICENSE: LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later)
|
||||
* PURPOSE: Indicator (internat.exe) window class
|
||||
* COPYRIGHT: Copyright 2025 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
|
||||
*/
|
||||
|
||||
#ifndef _INDICML_
|
||||
#define _INDICML_
|
||||
|
||||
#pragma once
|
||||
|
||||
#define INDICATOR_CLASSW L"Indicator"
|
||||
#define INDICATOR_CLASSA "Indicator"
|
||||
|
||||
#ifdef UNICODE
|
||||
#define INDICATOR_CLASS INDICATOR_CLASSW
|
||||
#else
|
||||
#define INDICATOR_CLASS INDICATOR_CLASSA
|
||||
#endif
|
||||
|
||||
#define INDICM_SETIMEICON (WM_USER + 100)
|
||||
#define INDICM_SETIMETOOLTIPS (WM_USER + 101)
|
||||
#define INDICM_REMOVEDEFAULTMENUITEMS (WM_USER + 102)
|
||||
|
||||
/* wParam flags for INDICM_REMOVEDEFAULTMENUITEMS */
|
||||
#define RDMI_LEFT 1
|
||||
#define RDMI_RIGHT 2
|
||||
|
||||
#endif /* ndef _INDICML_ */
|
Loading…
Reference in a new issue