You can use the EnableWindow function from user32.dll to disable all input in your front panel window. Use the FindWindow function to find the handle. I'm posting an example of this.
There's also the BlockInput function in there, for comparison, but you probably won't want to use that one because it blocks ALL input.
___________________
Try to take over the world!