Special handling of certain WM_* messages on MS Windows


#1

This question is specific to MS Windows.

Is there a way to hook into JUCE’s message processing loop to handle specific messages?

I need to participate in an established DDE communication between a number of legacy applications. I can easily call ::PostMessage(…) to send out what I need, but how do I hook into JUCE’s message processing loop so I can see the incoming messages and intercept the DDE info?


#2

I’m not sure how DDE works but usually you can create your own HWND to receive those messages, similar to the HiddenMessageWindow in JUCE.