Hi again @nsivov . How can I check the name of a window from the HWND? WINAPI have a FindWindow family functions that take the class and window name as inputs, but it doesn't seem to exist an HWND to name. The only function that come closer is GetWindowText that return the bar text, but we have no bar (its actually delegate to the control using WM_GETTEXT message). Calling this function on the static window return blank buffer.
I could subclass the Static class to hook WN_NCCREATE (this is how the static user32 test are done, but that hook the window that is created with a dummy class and that the class dialog is created with a separate function and it's not clear where the HWND is passed), but there is a guarantee that the what is passed in the params before and after the call is the actual name of the window?