I'm creating a window with CreateWindowEx for the sole purpose of receiving messages. Currently the hWndParent parameter is 0:
Result := CreateWindowEx(WS_EX_TOOLWINDOW, WindowClassName, '', WS_POPUP,
0, 0, 0, 0, 0, 0, HInstance, nil);
I've read that a message-only window can be created by changing this parameter to HWND_MESSAGE
.
Are there benefits in terms of performance and consumption of resources when using this option?