Our app needs to detect WM_POWERBROADCAST wParam=PBT_APMSUSPEND so that this will shutdown the app. I've looked for but not found a juce way to capture native messages such as this.
I'm asking before I roll my own hidden window to capture these events which seems hackish. I'll have to roll my own solution on Mac too unless there's already a JUCE way to capture and handle OS power events. Is there?
Thanks,
Paul S...