HWND hShell_TrayWnd=::FindWindow("Shell_TrayWnd",0); if(hShell_TrayWnd) { RECT r; ::GetWindoeRect(hShell_TrayWnd,&r); //высота == r.bottom-r.top+1; }
fResult = (BOOL) SHAppBarMessage(ABM_GETTASKBARPOS, pabd); //(MSDN)