UINT uState; CRect rcTaskbar; APPBARDATA abd; m_nSystemHeight = ::GetSystemMetrics(SM_CYSCREEN); m_nSystemWidth = ::GetSystemMetrics(SM_CXSCREEN); // 작업표시줄의 정보를 구함 abd.cbSize = sizeof(APPBARDATA); abd.hWnd = ::GetDesktopWindow(); ::SetRect(&abd.rc, 0, 0, m_nSystemWidth, m_nSystemHeight); ::SHAppBarMessage(ABM_GETTASKBARPOS, &abd); uState = ::SHAppBarMessage(ABM_GETSTATE, &abd); rcTaskbar = abd.r..