Intersting stuff CS_TBL. I see you are using a polling technique to check for each gadget rather than use the Windows Event System. The problem with polling though is that it can slow things down because your program is constantly checking for gadgets instead of just waiting for an event to occur. I like it though.
By the way, anything that is displayed on your screen is a bitmap, not just panels.
By the way, anything that is displayed on your screen is a bitmap, not just panels.