Ah!

Nevermind. I figured it out. I was moving around a panel that tracked my mouse movement. When I clicked, the "floating" panel intercepted the click event.

I modified my code a bit too. Instead of trying to include the event in the pan_create options string, I set it after the panel was created like this:

panel_pointer->event = function_name;

Thanks,
- Bret