I am trying to use the SendMessage function of a hotkey utility (or NirCMD, etc.) to open a hidden window. For example, I can close the windows by sending 0x0010 (WM_CLOSE), but when I try to send 0x0018 (WM_SHOWWINDOW) with wParam 1 and lParam of 0, nothing will happen.
Ive looked around, and in several places where someone complained that WM_SHOWWINDOW was not working, they gladly accepted the offer to use ShowWindow ().
However, I do not have ShowWindow (); I can only send windows messages. But ShowWindow () is not magic, of course, it works using SendMessage - WM_SHOWWINDOW or something under the covers.
How can I get a window to display myself by sending him a message?
Thank.
source
share