I’m trying to find out whether broadcast messages will be sent to message only windows, i.e. created as:
hWnd = CreateWindow(MAKEINTATOM(RegisterClass(&wnd)), NULL, 0, 0, 0, 0, 0, 0, HWND_MESSAGE, hInstance, 0);
Thing is that I don’t get any broadcast messages to that window… 😉
Your suspicions are correct. Message-only windows (those created by specifying
HWND_MESSAGEfor thehwndParentparameter of theCreateWindowExfunction) do not receive broadcast notifications:Reference: MSDN