They are created by the system and you need not be concerned about them. IME stands for input method editor.
There are two invisible windows under my process with titles "MSCTFIME UI" and "Default IME"
Shyam Butani
160
Reputation points
Hi,
I am working on win32 app and WinUI3 app in CPP. I want to find out all the available windows of my application.
I am using EnumWindows to enumerate over all the windows and then filter it using process-ID in EnumWindowsProc. But I found that there are two extra windows under my process with titles "MSCTFIME UI" and "Default IME". What are these windows? Can you give some idea about it?
Here is how I'm doing:
BOOL CALLBACK EnumWindowsProc(_In_ HWND hwnd, _In_ LPARAM lParam)
{
DWORD processId;
GetWindowThreadProcessId(hwnd, &processId);
if (processId == GetCurrentProcessId()) {
char wnd_title[256];
GetWindowTextA(hwnd, wnd_title, sizeof(wnd_title));
// Do something
}
return TRUE;
}
EnumWindows(EnumWindowsProc, NULL);
Thanks.