I'm trying to use CreateWindowEx to generate a message-only window:
_hWnd = CreateWindowEx( 0, NULL, NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, NULL );
When my application executes this line it always returns _hWnd = 0. What am I doing wrong?