I run a exe from my application.
I dont want that exe's taskbar icon to be shown on taskbar.
So I first took a HWND of that exe using FindWindow
and then I used SetWindowLong
function
SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) & ~WS_EX_APPWINDOW)
but this is not removing the icon of that exe from Taskbar. I also used WS_EX_TOOLWINDOW
instead of WS_EX_APPWINDOW.