DefaultUID example for C++ 6.0 and later
HCURSOR hOldCursor=NULL; hOldCursor = SetCursor(LoadCursor(NULL, MAKEINTRESOURCE(IDC_WAIT))); m_pLEADDicomDS->DefaultUID(); SetCursor(hOldCursor);