Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void DeviceSelectionDlg::OnDblclkDeviceList(NMHDR *pNMHDR, LRESULT *pResult)
- {
- LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast<LPNMITEMACTIVATE>(pNMHDR);
- int row = pNMItemActivate->iItem;
- if (row >= 0)
- {
- selectedDevice_ = devices_[row];
- CDialog::OnOK();
- }
- *pResult = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement