Ok so i found a example on EnumWindows here and used it but it's getting a lot more stuff than the windows i have on the taskbar. I want to get only windows on the taskbar.
Here is the code:
And the way i call it:
BOOL CALLBACK EnumWinProc(HWND hWnd,LPARAM lParam)
HWND hList1= (HWND)lParam;
Hope that someone can help.
I'm not 100% sure of the criterias that make a window appear on the taskbar, but for one thing, it must be visible, so check if the window is visible.
I don't think that modal windows are visible either. But perhaps someone else can tell you more or you could try to find out the conditions yourself.
can u give the direct example cuz i'm a little drunk right now :D
Then sober up, stop drinking and come back tomorrow!
Yeah, thanks for making a useless reply.
Do yourself a favor and stay sober when programming.
oh just go f**** yourself if u can't help someone .... i bet you don't even have 1% knowage that i have.