iconify application?
-
hiho@ll i want to write an app which can iconify another application (should be independent what kind of application it is) the problem: i have a prog running the whole day the prog itself can no the iconified to the systray well, that's not correct it is in the systray, but it is also in the task bar so i don't want to see it in the taskbar because it just waits the whole day and does most of the time nothing (but it is needed!) anybody knows how i can make the prog just sit in the systray?
-
hiho@ll i want to write an app which can iconify another application (should be independent what kind of application it is) the problem: i have a prog running the whole day the prog itself can no the iconified to the systray well, that's not correct it is in the systray, but it is also in the task bar so i don't want to see it in the taskbar because it just waits the whole day and does most of the time nothing (but it is needed!) anybody knows how i can make the prog just sit in the systray?
-
"Success is the ability of going from one failure to another with no loss of enthusiasm" - W.Churchill
that was a great hint but: i made a prog as described in the tutorial it worked great now i tried to catch the HWND from a mouseclick to get the window for which i want invisible the task bar icon (the systray should be visible) what i do: catch the click use WindowFromPoint to get the clicked window create a new CWnd which is invisible set the parent of the clicked window to the invisible window well the whole window is invisible hmm don't realy know the problem/solution what could be the problem? anybody knows an answer? thx
-
hiho@ll i want to write an app which can iconify another application (should be independent what kind of application it is) the problem: i have a prog running the whole day the prog itself can no the iconified to the systray well, that's not correct it is in the systray, but it is also in the task bar so i don't want to see it in the taskbar because it just waits the whole day and does most of the time nothing (but it is needed!) anybody knows how i can make the prog just sit in the systray?
Search for the
Shell_NotifyIcon()
function.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb