MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / GetSelectedQueueRect

Method GetSelectedQueueRect

src/Windows/QueueWindow.cpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156bool 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
165int QueueWindow::ProgressQueueItem(QueueOperation * op) {
166 if (!ValidType(op->GetType()))

Callers 1

MessageProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected