| 154 | } |
| 155 | |
| 156 | bool QueueWindow::GetSelectedQueueRect(RECT * pRect) { |
| 157 | int selectedindex = ListView_GetNextItem(m_hwnd, -1, LVNI_ALL|LVNI_SELECTED); |
| 158 | if (selectedindex == -1) |
| 159 | return false; |
| 160 | |
| 161 | BOOL res = ListView_GetItemRect(m_hwnd, selectedindex, pRect, LVIR_LABEL); |
| 162 | return (res == TRUE); |
| 163 | } |
| 164 | |
| 165 | int QueueWindow::ProgressQueueItem(QueueOperation * op) { |
| 166 | if (!ValidType(op->GetType())) |