detect windows messages to bp window

BlitzPlus Forums/BlitzPlus Programming/detect windows messages to bp window

greetings all :) i am looking to see if i can detect a custom windows message sent to a bp window. the goal is to send a pb window a custom message from a different EXE. i have successfully retrieved the window handle, but when i postmessage or sendmessage to it, i cant figure out how to accept those messages in bp. i tried detecting them using WaitEvent() but that doesnt seem to work. any direction would be much appreciated :)