Uhh, i've been trying to figure that out for a long time, that would be very usefull for a screen capture program. There must be a way, does anybody know?
The virutual key object helps a little. You can't minimize it completely, but you can hide the window behind anything and still be able to send info with your keyboard.
Start of frame
-> (System tray) applications icons > load small icon from application > 1
(System tray) intercept system commands > On minize command.
-> Halt system commands > halt minimize commands
-> Show icon in tray
-> (Window Control) visibility > make window invisible
(System tray) Mouse clicks > user clicks an icon > 1
-> (Window control) Make window reappear
-> Remove icon from tray > 1