I am trying to hide a console window of WinCE using WEC 7 (Windows Embedded Compact 7).
From my desktop windows, I've confirmed that this can be done using the following code:
HWND hWnd = FindWindow(L"ConsoleWindowClass",NULL);
ShowWindow(hWnd, SW_HIDE);
However, FindWindow
returns a null pointer if I use this code on WinCE.
Probably, the class name of the console window of WinCE is different from the desktop windows.
Is there any way to get the hWnd
of the console window?