// [JRT]: Support For Disabling Drag and Drop...
if (!m_bDisableDragAndDrop) // If Drag And Drop Not Disabled
- ::SetCursor (::LoadCursor (NULL, MAKEINTRESOURCE (IDC_ARROW))); // Set To Arrow Cursor
+ ::SetCursor (::LoadCursor (NULL, IDC_ARROW)); // Set To Arrow Cursor
}
else
- ::SetCursor (::LoadCursor (NULL, MAKEINTRESOURCE (IDC_IBEAM)));
+ ::SetCursor (::LoadCursor (NULL, IDC_IBEAM));
}
return true;
}
}
// Moving to normal selection mode
- ::SetCursor (::LoadCursor (NULL, MAKEINTRESOURCE (IDC_IBEAM)));
+ ::SetCursor (::LoadCursor (NULL, IDC_IBEAM));
m_bLineSelection = m_bWordSelection = false;
}
case MB_ICONEXCLAMATION:
// Load the icon with the exclamation mark.
- m_hIcon = AfxGetApp()->LoadStandardIcon(
- MAKEINTRESOURCE(IDI_EXCLAMATION));
+ m_hIcon = AfxGetApp()->LoadStandardIcon(IDI_EXCLAMATION);
break;
case MB_ICONHAND:
// Load the icon with the error symbol.
- m_hIcon = AfxGetApp()->LoadStandardIcon(
- MAKEINTRESOURCE(IDI_HAND));
+ m_hIcon = AfxGetApp()->LoadStandardIcon(IDI_HAND);
break;
case MB_ICONQUESTION:
// Load the icon with the question mark.
- m_hIcon = AfxGetApp()->LoadStandardIcon(
- MAKEINTRESOURCE(IDI_QUESTION));
+ m_hIcon = AfxGetApp()->LoadStandardIcon(IDI_QUESTION);
break;
case MB_ICONASTERISK:
// Load the icon with the information symbol.
- m_hIcon = AfxGetApp()->LoadStandardIcon(
- MAKEINTRESOURCE(IDI_ASTERISK));
+ m_hIcon = AfxGetApp()->LoadStandardIcon(IDI_ASTERISK);
break;