How to capture when user clicks "Cancel" on the status bar during a find
I have a OnModeExit script that runs after the user selects the Find option on the status bar (or is it called menu bar... whatever). It's important that I capture if the user clicks on the Perform Find or Cancel Find button. I've tested Get(LastError) and Get(LastMessageChoice) and several other Gets to try to determine what they click and that doesn't work. I use custom menus throughout the program but can't seem to find a way to create a custom menu for when the user goes into find mode.
I know there is a way to do this but I'm just not seeing it clearly. What is the solution here?