Hiding application from taskbar
This will hide your application from taskbar:
ShowWindow(application.handle, sw_hide);