I have an application that runs in background (it's minimized almost all the time). I need to hide it from taskbar:
with Application do SetWindowLong(handle, GWL_EXSTYLE, GetWindowLong(handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);
So what's the problem. As I said - application is minimized almost all the time and is not visible. But when I show some window from this application (ToolWindow, if it matters; there are several windows - ToolWindows and windows without caption, just with sizeable border), application (small box with appliction`s caption, 'restore', 'maximize' and 'exit' buttons) appears in the left down corner of display. How to avoid this appearing?
One more problem - when I press alt+tab, there are several icons for this application (one icon for each form; forms do not have caption, if it matters). When some ToolWindow (a form with BorderStyle set to bsToolWindow) is visible, there are no icons at all for this app. How to do so that there's one and only one icon for application, when I press alt+tab (no matter - is any of application`s windows visible or not, is application minimised or not)?